Searched refs:ar_hln (Results 1 – 8 of 8) sorted by relevance
/external/dhcpcd/ |
D | arp.c | 58 ar.ar_hln = iface->hwlen; in send_arp() 141 hw_t = hw_s + ar.ar_hln + ar.ar_pln; in handle_arp_packet() 143 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes) in handle_arp_packet() 146 if (ar.ar_hln == iface->hwlen && in handle_arp_packet() 150 memcpy(&reply_s, hw_s + ar.ar_hln, ar.ar_pln); in handle_arp_packet() 151 memcpy(&reply_t, hw_t + ar.ar_hln, ar.ar_pln); in handle_arp_packet() 162 (size_t)ar.ar_hln); in handle_arp_packet() 191 (size_t)ar.ar_hln), in handle_arp_packet()
|
D | client.c | 1631 hw_t = hw_s + reply.ar_hln + reply.ar_pln; in handle_arp_packet() 1633 if ((hw_t + reply.ar_hln + reply.ar_pln) - arp_reply > bytes) in handle_arp_packet() 1636 if (reply.ar_hln == iface->hwlen && in handle_arp_packet() 1640 memcpy(&reply_s, hw_s + reply.ar_hln, reply.ar_pln); in handle_arp_packet() 1641 memcpy(&reply_t, hw_t + reply.ar_hln, reply.ar_pln); in handle_arp_packet() 1658 (size_t)reply.ar_hln), in handle_arp_packet()
|
/external/iproute2/misc/ |
D | arpd.c | 211 ah->ar_hln = 6; in send_probe() 215 memcpy(p, ifr.ifr_hwaddr.sa_data, ah->ar_hln); in send_probe() 216 p += ah->ar_hln; in send_probe() 225 memcpy(p, &sll.sll_addr, ah->ar_hln); in send_probe() 226 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/tcpdump/ |
D | print-arp.c | 61 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 HLN(ap) ((ap)->ar_hln)
|
/external/iproute2/include/linux/ |
D | if_arp.h | 140 unsigned char ar_hln; /* length of hardware address */ member
|
/external/kernel-headers/original/linux/ |
D | if_arp.h | 140 unsigned char ar_hln; /* length of hardware address */ member
|
/external/qemu/slirp/ |
D | slirp.c | 584 unsigned char ar_hln; /* length of hardware address */ member 630 rah->ar_hln = ETH_ALEN; in arp_input() 712 rah->ar_hln = ETH_ALEN; in if_encap()
|
/external/qemu/slirp-android/ |
D | slirp.c | 673 unsigned char ar_hln; /* length of hardware address */ member 723 rah->ar_hln = ETH_ALEN; in arp_input() 805 rah->ar_hln = ETH_ALEN; in if_encap()
|