Embedded TCP/IP stack: fnet_arp_send_request

FNET

void fnet_arp_send_request ( fnet_netif_desc_t  netif_desc,
fnet_ip4_addr_t  ip_addr 
)

Sends ARP request.

Parameters
[in]netif_descNetwork interface descriptor.
[in]ip_addrTarget protocol address.

This function sends a broadcast ARP message, requesting an answer for ipaddr.
It can be used for ARP probing of IPv4 address before beginning to use.
Also, it can be used for a gratuitous ARP message when sender's IP address or MAC address has changed.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net