/external/iputils/ |
D | arping.c | 283 ah->ar_hln = ME->sll_halen; in send_pack() 287 memcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack() 294 memcpy(p, &ME->sll_addr, ah->ar_hln); in send_pack() 296 memcpy(p, &HE->sll_addr, ah->ar_hln); in send_pack() 297 p+=ah->ar_hln; in send_pack() 303 err = sendto(s, buf, p-buf, 0, (struct sockaddr*)HE, SLL_LEN(ah->ar_hln)); in send_pack() 406 if (ah->ar_hln != ((struct sockaddr_ll *)&me)->sll_halen) in recv_pack() 408 if (len < sizeof(*ah) + 2*(4 + ah->ar_hln)) in recv_pack() 410 memcpy(&src_ip, p+ah->ar_hln, 4); in recv_pack() 411 memcpy(&dst_ip, p+ah->ar_hln+4+ah->ar_hln, 4); in recv_pack() [all …]
|
D | rarpd.c | 491 if (a->ar_hln != sll.sll_halen) { in serve_it() 496 if (sizeof(*a) + 2*4 + 2*a->ar_hln > n) { in serve_it()
|
/external/toybox/toys/pending/ |
D | arping.c | 106 arp_h->ar_hln = src_pk.sll_halen; in send_packet() 144 || (arp_hdr->ar_hln != src_pk.sll_halen) in recv_from() 145 || (*recv_len < (int)(sizeof(*arp_hdr) + 2 * (4 + arp_hdr->ar_hln)))) in recv_from() 148 memcpy(&s_ip.s_addr, p + arp_hdr->ar_hln, 4); in recv_from() 149 memcpy(&d_ip.s_addr, p + arp_hdr->ar_hln + 4 + arp_hdr->ar_hln, 4); in recv_from()
|
/external/iproute2/misc/ |
D | arpd.c | 213 ah->ar_hln = 6; in send_probe() 217 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe() 218 p += ah->ar_hln; in send_probe() 224 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe() 225 p += ah->ar_hln; in send_probe() 506 a->ar_hln != sll.sll_halen || in get_arp_pkt() 507 sizeof(*a) + 2*4 + 2*a->ar_hln > n) in get_arp_pkt() 511 memcpy(&key.addr, (char *)(a+1) + a->ar_hln, 4); in get_arp_pkt() 529 dbdat.size = a->ar_hln; in get_arp_pkt()
|
/external/u-boot/net/ |
D | rarp.c | 41 (arp->ar_hln != 6) || (arp->ar_pln != 4)) { in rarp_receive() 85 rarp->ar_hln = 6; in rarp_request()
|
D | arp.c | 70 arp->ar_hln = ARP_HLEN; in arp_raw_request() 150 if (arp->ar_hln != ARP_HLEN) in arp_receive()
|
/external/tcpdump/ |
D | print-arp.c | 60 u_char ar_hln; /* length of hardware address */ member 82 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln) 83 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) 84 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) 90 #define HRD_LEN(ap) ((ap)->ar_hln)
|
/external/iptables/iptables/ |
D | nft-arp.c | 173 add_proto(r, offsetof(struct arphdr, ar_hln), 1, in nft_arp_add() 300 unsigned short int ar_hrd, ar_pro, ar_op, ar_hln; in nft_arp_parse_payload() local 325 case offsetof(struct arphdr, ar_hln): in nft_arp_parse_payload() 326 get_cmp_data(e, &ar_hln, sizeof(ar_op), &inv); in nft_arp_parse_payload() 327 fw->arp.arhln = ar_hln; in nft_arp_parse_payload()
|
/external/libnl/include/linux-private/linux/ |
D | if_arp.h | 140 unsigned char ar_hln; /* length of hardware address */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arp.h | 147 unsigned char ar_hln; /* length of hardware address */ member
|
/external/iproute2/include/uapi/linux/ |
D | if_arp.h | 147 unsigned char ar_hln; /* length of hardware address */ member
|
/external/u-boot/drivers/net/ |
D | sandbox-raw.c | 89 arp->ar_hln = ARP_HLEN; in sb_eth_raw_recv()
|
D | sandbox.c | 100 arp_recv->ar_hln = ARP_HLEN; in sb_eth_send()
|
/external/u-boot/include/ |
D | net.h | 410 u8 ar_hln; /* Length of hardware address */ member
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 333 sndarp_p->hdr.ar_hln = ETH_ALEN; in return_arp_reply()
|