Implement API function to iterate over stable ARP table entries

This commit is contained in:
Dirk Ziegelmeier
2015-11-16 09:53:23 +01:00
parent 73bb986737
commit 39370db55d
2 changed files with 27 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ struct etharp_q_entry {
void etharp_tmr(void);
s8_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr,
struct eth_addr **eth_ret, const ip4_addr_t **ip_ret);
u8_t etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret);
err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr);
err_t etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q);
err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr);