* Sends gratuitous ARPs for each ifaddr to notify other * nodes about the address change. */
| 1467 | * nodes about the address change. |
| 1468 | */ |
| 1469 | static __noinline void |
| 1470 | arp_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. |
no test coverage detected