Searched refs:ar_hln (Results 1 – 9 of 9) sorted by relevance
/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/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 | 59 u_char ar_hln; /* length of hardware address */ member 81 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln) 82 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) 83 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) 89 #define HRD_LEN(ap) ((ap)->ar_hln)
|
/external/libnl/include/linux/ |
D | if_arp.h | 133 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
|