Lines Matching refs:arpreq
2104 struct arpreq arpreq; local
2106 memset(&arpreq, 0, sizeof(arpreq));
2107 if (!get_ether_addr(hisaddr, &arpreq.arp_ha))
2110 arpreq.arp_pa.sa_family = AF_INET;
2111 INET_ADDR(arpreq.arp_pa) = hisaddr;
2112 arpreq.arp_flags = ATF_PERM | ATF_PUBL;
2113 if (ioctl(ipfd, SIOCSARP, (caddr_t) &arpreq) < 0) {
2130 struct arpreq arpreq; local
2132 memset(&arpreq, 0, sizeof(arpreq));
2133 arpreq.arp_pa.sa_family = AF_INET;
2134 INET_ADDR(arpreq.arp_pa) = hisaddr;
2135 if (ioctl(ipfd, SIOCDARP, (caddr_t)&arpreq) < 0) {
2288 struct arpreq req;