/************************************************************************
* NAME: fnet_arp_ip_duplicated
*
* DESCRIPTION: This function is called on the IP address
*              duplication event.
*************************************************************************/
static void fnet_arp_ip_duplicated(void *cookie)
{
	
    FNET_DEBUG_ARP("");
    FNET_DEBUG_ARP("\33[31mARP: Duplicate IP address.\33[0m");
    fnet_netif_dupip_handler_signal((fnet_netif_t *)cookie); 
}
示例#2
0
/************************************************************************
* NAME: fnet_arp_ip4_addr_conflict
*
* DESCRIPTION: This function is called on the IP address
*              duplication event.
*************************************************************************/
static void fnet_arp_ip4_addr_conflict(fnet_uint32_t cookie)
{
    FNET_DEBUG_ARP("");
    FNET_DEBUG_ARP("ARP: Duplicate IP address.");
    fnet_netif_signal_p4_addr_conflict((fnet_netif_t *)cookie);
}