etharp_update_arp_entry() function
Update (or insert) a IP/MAC address pair in the ARP cache. If a pending entry is resolved, any queued packets will be sent at this point. @see pbuf_free()
Arguments
netif
netif related to this entry (used for NETIF_ADDRHINT)
ipaddr
IP address of the inserted ARP entry.
ethaddr
Ethernet address of the inserted ARP entry.
flags
Return value
- ERR_OK Successfully updated ARP cache. - ERR_MEM If we could not add a new ARP entry when ETHARP_FLAG_TRY_HARD was set. - ERR_ARG Non-unicast address given, those will not appear in ARP cache.
Functions calling etharp_update_arp_entry()
Functions called by etharp_update_arp_entry()
etharp_update_arp_entry()
printf() memcpy() all items filtered out
Data read by etharp_update_arp_entry()
Data written by etharp_update_arp_entry()
etharp_update_arp_entry()::i etharp_update_arp_entry()::p all items filtered out
etharp_update_arp_entry()
etharp_update_arp_entry()::i all items filtered out
Type of etharp_update_arp_entry()
etharp_update_arp_entry()