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

Function arp_announce_ifaddr

freebsd/netinet/if_ether.c:1457–1463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455}
1456
1457void
1458arp_announce_ifaddr(struct ifnet *ifp, struct in_addr addr, u_char *enaddr)
1459{
1460
1461 if (ntohl(addr.s_addr) != INADDR_ANY)
1462 arprequest(ifp, &addr, &addr, enaddr);
1463}
1464
1465/*
1466 * Sends gratuitous ARPs for each ifaddr to notify other

Callers 2

arp_ifinitFunction · 0.85
carp_send_arpFunction · 0.85

Calls 1

arprequestFunction · 0.85

Tested by

no test coverage detected