/external/syslinux/gpxe/src/net/ |
D | arp.c | 144 arphdr->ar_hln = ll_protocol->ll_addr_len; in arp_resolve() 215 ( arphdr->ar_hln != ll_protocol->ll_addr_len ) || in arp_rx() 224 arphdr->ar_hln ); in arp_rx() 241 arphdr->ar_hln ); in arp_rx() 259 arphdr->ar_hln + arphdr->ar_pln ); in arp_rx() 260 memcpy ( arp_sender_ha ( arphdr ), netdev->ll_addr, arphdr->ar_hln ); in arp_rx()
|
/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/syslinux/gpxe/src/include/gpxe/ |
D | if_arp.h | 59 uint8_t ar_hln; member 81 return ( arp_sender_ha ( arphdr ) + arphdr->ar_hln ); in arp_sender_pa() 99 return ( arp_target_ha ( arphdr ) + arphdr->ar_hln ); in arp_target_pa()
|
/external/dhcpcd-6.8.2/ |
D | arp.c | 68 ar.ar_hln = ifp->hwlen; in arp_request() 166 hw_t = hw_s + ar.ar_hln + ar.ar_pln; in arp_packet() 168 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes) in arp_packet() 172 if (ar.ar_hln == ifn->hwlen && in arp_packet() 179 memcpy(&arm.sha, hw_s, ar.ar_hln); in arp_packet() 180 memcpy(&arm.sip.s_addr, hw_s + ar.ar_hln, ar.ar_pln); in arp_packet() 181 memcpy(&arm.tha, hw_t, ar.ar_hln); in arp_packet() 182 memcpy(&arm.tip.s_addr, hw_t + ar.ar_hln, ar.ar_pln); in arp_packet()
|
/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 | 214 ah->ar_hln = 6; in send_probe() 218 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe() 219 p += ah->ar_hln; in send_probe() 228 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe() 229 p+=ah->ar_hln; in send_probe() 513 a->ar_hln != sll.sll_halen || in get_arp_pkt() 514 sizeof(*a) + 2*4 + 2*a->ar_hln > n) in get_arp_pkt() 518 memcpy(&key.addr, (char*)(a+1) + a->ar_hln, 4); in get_arp_pkt() 536 dbdat.size = a->ar_hln; in get_arp_pkt()
|
/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/iproute2/include/linux/ |
D | if_arp.h | 144 unsigned char ar_hln; /* length of hardware address */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arp.h | 144 unsigned char ar_hln; /* length of hardware address */ member
|
/external/syslinux/gpxe/src/core/ |
D | gdbudp.c | 84 arphdr->ar_hln != ETH_ALEN || in gdbudp_recv()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 333 sndarp_p->hdr.ar_hln = ETH_ALEN; in return_arp_reply()
|
/external/syslinux/gpxe/src/drivers/net/ |
D | via-velocity.h | 1470 u8 ar_hln; member
|