/external/syslinux/gpxe/src/net/ |
D | arp.c | 119 struct arphdr *arphdr; in arp_resolve() local 135 iobuf = alloc_iob ( MAX_LL_HEADER_LEN + sizeof ( *arphdr ) + in arp_resolve() 142 arphdr = iob_put ( iobuf, sizeof ( *arphdr ) ); in arp_resolve() 143 arphdr->ar_hrd = ll_protocol->ll_proto; in arp_resolve() 144 arphdr->ar_hln = ll_protocol->ll_addr_len; in arp_resolve() 145 arphdr->ar_pro = net_protocol->net_proto; in arp_resolve() 146 arphdr->ar_pln = net_protocol->net_addr_len; in arp_resolve() 147 arphdr->ar_op = htons ( ARPOP_REQUEST ); in arp_resolve() 199 struct arphdr *arphdr = iobuf->data; in arp_rx() local 207 arp_net_protocol = arp_find_protocol ( arphdr->ar_pro ); in arp_rx() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | if_arp.h | 47 struct arphdr { struct 71 static inline void * arp_sender_ha ( struct arphdr *arphdr ) { in arp_sender_ha() argument 72 return ( ( ( void * ) arphdr ) + sizeof ( *arphdr ) ); in arp_sender_ha() 80 static inline void * arp_sender_pa ( struct arphdr *arphdr ) { in arp_sender_pa() argument 81 return ( arp_sender_ha ( arphdr ) + arphdr->ar_hln ); in arp_sender_pa() 89 static inline void * arp_target_ha ( struct arphdr *arphdr ) { in arp_target_ha() argument 90 return ( arp_sender_pa ( arphdr ) + arphdr->ar_pln ); in arp_target_ha() 98 static inline void * arp_target_pa ( struct arphdr *arphdr ) { in arp_target_pa() argument 99 return ( arp_target_ha ( arphdr ) + arphdr->ar_hln ); in arp_target_pa()
|
/external/syslinux/gpxe/src/core/ |
D | gdbudp.c | 61 struct arphdr *arphdr; in gdbudp_recv() local 80 arphdr = iob->data; in gdbudp_recv() 81 if ( iob_len ( iob ) < sizeof ( *arphdr ) + 2 * ( ETH_ALEN + sizeof ( struct in_addr ) ) || in gdbudp_recv() 82 arphdr->ar_hrd != htons ( ARPHRD_ETHER ) || in gdbudp_recv() 83 arphdr->ar_pro != htons ( ETH_P_IP ) || in gdbudp_recv() 84 arphdr->ar_hln != ETH_ALEN || in gdbudp_recv() 85 arphdr->ar_pln != sizeof ( struct in_addr ) || in gdbudp_recv() 86 arphdr->ar_op != htons ( ARPOP_REQUEST ) || in gdbudp_recv() 87 * ( uint32_t * ) arp_target_pa ( arphdr ) != source_addr.sin_addr.s_addr ) { in gdbudp_recv() 92 arphdr->ar_op = htons ( ARPOP_REPLY ); in gdbudp_recv() [all …]
|
/external/iptables/iptables/ |
D | nft-arp.c | 159 add_payload(r, offsetof(struct arphdr, ar_hrd), 2, in nft_arp_add() 166 add_payload(r, offsetof(struct arphdr, ar_pro), 2, in nft_arp_add() 173 add_proto(r, offsetof(struct arphdr, ar_hln), 1, in nft_arp_add() 177 add_proto(r, offsetof(struct arphdr, ar_pln), 1, 4, NFT_CMP_EQ); in nft_arp_add() 181 add_payload(r, offsetof(struct arphdr, ar_op), 2, in nft_arp_add() 188 add_payload(r, sizeof(struct arphdr), fw->arp.arhln, in nft_arp_add() 195 add_addr(r, sizeof(struct arphdr) + fw->arp.arhln, in nft_arp_add() 202 add_payload(r, sizeof(struct arphdr) + fw->arp.arhln + 4, in nft_arp_add() 209 add_addr(r, sizeof(struct arphdr) + fw->arp.arhln + sizeof(struct in_addr), in nft_arp_add() 304 case offsetof(struct arphdr, ar_hrd): in nft_arp_parse_payload() [all …]
|
/external/toybox/toys/pending/ |
D | arping.c | 101 struct arphdr *arp_h = (struct arphdr *) sbuf; in send_packet() 134 struct arphdr *arp_hdr = (struct arphdr *)toybuf; in recv_from()
|
/external/dhcpcd-6.8.2/ |
D | arp.c | 55 (sizeof(struct arphdr) + (2 * sizeof(uint32_t)) + (2 * HWADDR_LEN)) 62 struct arphdr ar; in arp_request() 127 struct arphdr ar; in arp_packet()
|
/external/libnl/include/linux-private/linux/ |
D | if_arp.h | 137 struct arphdr { struct
|
/external/iproute2/include/linux/ |
D | if_arp.h | 141 struct arphdr { struct
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arp.h | 141 struct arphdr { struct
|
/external/iproute2/misc/ |
D | arpd.c | 188 struct arphdr *ah = (struct arphdr*)buf; in send_probe() 490 struct arphdr *a = (struct arphdr*)buf; in get_arp_pkt()
|
/external/syslinux/core/lwip/src/netif/ |
D | undiif.c | 262 struct etharp_hdr *arphdr; in snprintf_arp_hdr() local 266 arphdr = (struct etharp_hdr *)((void *)ethhdr + 14); in snprintf_arp_hdr() 267 d = arphdr->dhwaddr.addr; in snprintf_arp_hdr() 268 s = arphdr->shwaddr.addr; in snprintf_arp_hdr() 269 sip = (struct ip_addr *) &(arphdr->sipaddr); in snprintf_arp_hdr() 270 dip = (struct ip_addr *) &(arphdr->dipaddr); in snprintf_arp_hdr()
|
/external/iputils/ |
D | arping.c | 276 struct arphdr *ah = (struct arphdr*)buf; in send_pack() 379 struct arphdr *ah = (struct arphdr*)buf; in recv_pack()
|
D | rarpd.c | 421 struct arphdr *a = (struct arphdr*)buf; in serve_it()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-traffic.h | 104 struct arphdr hdr;
|