Searched refs:arpreq (Results 1 – 7 of 7) sorted by relevance
/external/libppp/src/ |
D | arp.c | 170 struct arpreq arpreq; in arp_SetProxy() local 176 memset(&arpreq, '\0', sizeof arpreq); in arp_SetProxy() 187 arpreq.arp_ha.sa_len = sizeof(struct sockaddr); in arp_SetProxy() 188 arpreq.arp_ha.sa_family = AF_UNSPEC; in arp_SetProxy() 189 memcpy(arpreq.arp_ha.sa_data, LLADDR(&dls.sdl), dls.sdl.sdl_alen); in arp_SetProxy() 190 SET_SA_FAMILY(arpreq.arp_pa, AF_INET); in arp_SetProxy() 191 ((struct sockaddr_in *)&arpreq.arp_pa)->sin_addr.s_addr = addr.s_addr; in arp_SetProxy() 192 arpreq.arp_flags = ATF_PERM | ATF_PUBL; in arp_SetProxy() 193 if (ID0ioctl(s, SIOCSARP, (caddr_t) & arpreq) < 0) { in arp_SetProxy() 207 struct arpreq arpreq; in arp_ClearProxy() local [all …]
|
/external/grub/netboot/ |
D | main.c | 203 struct arprequest arpreq; in udp_transmit() local 260 arpreq.hwtype = htons (1); in udp_transmit() 261 arpreq.protocol = htons (IP); in udp_transmit() 262 arpreq.hwlen = ETH_ALEN; in udp_transmit() 263 arpreq.protolen = 4; in udp_transmit() 264 arpreq.opcode = htons (ARP_REQUEST); in udp_transmit() 265 grub_memmove (arpreq.shwaddr, arptable[ARP_CLIENT].node, in udp_transmit() 267 grub_memmove (arpreq.sipaddr, (char *) &arptable[ARP_CLIENT].ipaddr, in udp_transmit() 269 grub_memset (arpreq.thwaddr, 0, ETH_ALEN); in udp_transmit() 270 grub_memmove (arpreq.tipaddr, (char *) &destip, sizeof (in_addr)); in udp_transmit() [all …]
|
/external/ppp/pppd/ |
D | sys-linux.c | 1668 struct arpreq arpreq; in sifproxyarp() local 1672 memset (&arpreq, '\0', sizeof(arpreq)); in sifproxyarp() 1674 SET_SA_FAMILY(arpreq.arp_pa, AF_INET); in sifproxyarp() 1675 SIN_ADDR(arpreq.arp_pa) = his_adr; in sifproxyarp() 1676 arpreq.arp_flags = ATF_PERM | ATF_PUBL; in sifproxyarp() 1681 if (!get_ether_addr(his_adr, &arpreq.arp_ha, proxy_arp_dev, in sifproxyarp() 1686 strlcpy(arpreq.arp_dev, proxy_arp_dev, sizeof(arpreq.arp_dev)); in sifproxyarp() 1688 if (ioctl(sock_fd, SIOCSARP, (caddr_t)&arpreq) < 0) { in sifproxyarp() 1719 struct arpreq arpreq; in cifproxyarp() local 1723 memset (&arpreq, '\0', sizeof(arpreq)); in cifproxyarp() [all …]
|
D | sys-solaris.c | 2101 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/iproute2/include/linux/ |
D | if_arp.h | 109 struct arpreq { struct
|
/external/kernel-headers/original/linux/ |
D | if_arp.h | 109 struct arpreq { struct
|
/external/dnsmasq/src/ |
D | dhcp.c | 308 struct arpreq req; in dhcp_packet() 333 struct arpreq req; in dhcp_packet()
|