mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-24 03:03:57 +08:00
arp: change arptable get struct from arp_entry_s to arpreq
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
@@ -276,8 +276,8 @@ int netlib_set_arpmapping(FAR const struct sockaddr_in *inaddr,
|
||||
FAR const uint8_t *macaddr,
|
||||
FAR const char *ifname);
|
||||
#ifdef CONFIG_NETLINK_ROUTE
|
||||
struct arp_entry_s;
|
||||
ssize_t netlib_get_arptable(FAR struct arp_entry_s *arptab,
|
||||
struct arpreq;
|
||||
ssize_t netlib_get_arptable(FAR struct arpreq *arptab,
|
||||
unsigned int nentries);
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user