FreeBSD/sys/dev/xen/netfront/netfront.c
/**
 * If this interface has an ipv4 address, send an arp for it. This
 * helps to get the network going again after migrating hosts.
 */
If this interface has an ipv4 address, send an arp for it. This
helps to get the network going again after migrating hosts.
If this interface has an ipv4 address send an arp for it . This helps to get the network going again after migrating hosts .
static void
netfront_send_fake_arp(device_t dev, struct netfront_info *info)
{
	struct ifnet *ifp;
	struct ifaddr *ifa;
	ifp = info->xn_ifp;
	TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
		if (ifa->ifa_addr->sa_family == AF_INET) {
			arp_ifinit(ifp, ifa);
		}
	}
}
static void netfront_send_fake_arp ( device_t dev , struct netfront_info * info ) { struct ifnet * ifp ; struct ifaddr * ifa ; ifp = info -> xn_ifp ; TAILQ_FOREACH ( ifa , & ifp -> if_addrhead , ifa_link ) { if ( ifa -> ifa_addr -> sa_family == AF_INET ) { arp_ifinit ( ifp , ifa ) ; } } }
If this interface has an ipv4 address, send an arp for it.
If this interface has an ipv4 address send an arp for it .