Embedded TCP/IP stack: fnet_netif_is_ip4_addr_conflict

FNET

fnet_bool_t fnet_netif_is_ip4_addr_conflict ( fnet_netif_desc_t  netif_desc)

Determines if there is IPv4 address conflict.

Parameters
netif_descNetwork interface descriptor.
Returns
This function returns:
  • FNET_FALSE if the IPv4 address conflict is not detected.
  • FNET_TRUE if the IPv4 address conflict is detected.
See also
fnet_netif_set_callback_on_ip4_addr_conflict(), fnet_netif_clear_ip4_addr_conflict()

This function determines if there is the netif interface IPv4 address conflict with another system on the network.
The address conflict is detected by ARP protocol.
The conflict flag is cleared on changing of the interface IPv4 address, using fnet_netif_set_ip4_addr() or calling fnet_netif_clear_ip4_addr_conflict().


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