Home
last modified time | relevance | path

Searched refs:arpreq (Results 1 – 8 of 8) sorted by relevance

/external/ppp/pppd/
Dsys-linux.c1669 struct arpreq arpreq; in sifproxyarp() local
1673 memset (&arpreq, '\0', sizeof(arpreq)); in sifproxyarp()
1675 SET_SA_FAMILY(arpreq.arp_pa, AF_INET); in sifproxyarp()
1676 SIN_ADDR(arpreq.arp_pa) = his_adr; in sifproxyarp()
1677 arpreq.arp_flags = ATF_PERM | ATF_PUBL; in sifproxyarp()
1682 if (!get_ether_addr(his_adr, &arpreq.arp_ha, proxy_arp_dev, in sifproxyarp()
1687 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in sifproxyarp()
1689 if (ioctl(sock_fd, SIOCSARP, (caddr_t)&arpreq) < 0) { in sifproxyarp()
1720 struct arpreq arpreq; in cifproxyarp() local
1724 memset (&arpreq, '\0', sizeof(arpreq)); in cifproxyarp()
[all …]
Dsys-solaris.c2101 struct arpreq arpreq; local
2103 memset(&arpreq, 0, sizeof(arpreq));
2104 if (!get_ether_addr(hisaddr, &arpreq.arp_ha))
2107 arpreq.arp_pa.sa_family = AF_INET;
2108 INET_ADDR(arpreq.arp_pa) = hisaddr;
2109 arpreq.arp_flags = ATF_PERM | ATF_PUBL;
2110 if (ioctl(ipfd, SIOCSARP, (caddr_t) &arpreq) < 0) {
2127 struct arpreq arpreq; local
2129 memset(&arpreq, 0, sizeof(arpreq));
2130 arpreq.arp_pa.sa_family = AF_INET;
[all …]
/external/libnl/include/linux/
Dif_arp.h101 struct arpreq { struct
/external/iproute2/include/linux/
Dif_arp.h109 struct arpreq { struct
/external/kernel-headers/original/uapi/linux/
Dif_arp.h113 struct arpreq { struct
/external/dnsmasq/src/
Ddhcp.c308 struct arpreq req; in dhcp_packet()
333 struct arpreq req; in dhcp_packet()
/external/iputils/
Drarpd.c390 struct arpreq req; in arp_advise()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc314 unsigned struct_arpreq_sz = sizeof(struct arpreq);