nshlib/nsh_netcmds.c: Add a -t option to the arp command which will enable printing the entire ARP table.

This commit is contained in:
Gregory Nutt
2019-11-03 16:19:14 -06:00
parent 768218ee81
commit 400995dec6
5 changed files with 106 additions and 7 deletions

View File

@@ -314,7 +314,8 @@ int netlib_set_arpmapping(FAR const struct sockaddr_in *inaddr,
FAR const uint8_t *macaddr);
#ifdef CONFIG_NETLINK_ROUTE
struct arp_enty_s;
int netlib_get_arptable(FAR struct arp_enty_s *arptab, unsigned int nentries);
ssize_t netlib_get_arptable(FAR struct arp_entry_s *arptab,
unsigned int nentries);
#endif
#endif