MCPcopy Create free account
hub / github.com/F-Stack/f-stack / arp_handle_ifllchange

Function arp_handle_ifllchange

freebsd/netinet/if_ether.c:1469–1478  ·  view source on GitHub ↗

* Sends gratuitous ARPs for each ifaddr to notify other * nodes about the address change. */

Source from the content-addressed store, hash-verified

1467 * nodes about the address change.
1468 */
1469static __noinline void
1470arp_handle_ifllchange(struct ifnet *ifp)
1471{
1472 struct ifaddr *ifa;
1473
1474 CK_STAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
1475 if (ifa->ifa_addr->sa_family == AF_INET)
1476 arp_ifinit(ifp, ifa);
1477 }
1478}
1479
1480/*
1481 * A handler for interface link layer address change event.

Callers 1

arp_iflladdrFunction · 0.85

Calls 1

arp_ifinitFunction · 0.85

Tested by

no test coverage detected