Searched refs:ar_pln (Results 1 – 9 of 9) sorted by relevance
69 ar.ar_pln = sizeof(sip); in arp_request()157 if (ar.ar_pln != sizeof(arm.sip.s_addr)) in arp_packet()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()180 memcpy(&arm.sip.s_addr, hw_s + ar.ar_hln, ar.ar_pln); in arp_packet()182 memcpy(&arm.tip.s_addr, hw_t + ar.ar_hln, ar.ar_pln); in arp_packet()
60 u_char ar_pln; /* length of protocol address */ member82 #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)90 #define PROTO_LEN(ap) ((ap)->ar_pln)
134 unsigned char ar_pln; /* length of protocol address */ member
145 unsigned char ar_pln; /* length of protocol address */ member
107 arp_h->ar_pln = 4; in send_packet()143 if (arp_hdr->ar_pro != htons(ETH_P_IP) || (arp_hdr->ar_pln != 4) in recv_from()
469 if (a->ar_pln != 4) { in serve_it()470 syslog(LOG_ERR, "interesting rarp_req plen=%d", a->ar_pln); in serve_it()
284 ah->ar_pln = 4; in send_pack()404 if (ah->ar_pln != 4) in recv_pack()
215 ah->ar_pln = 4; in send_probe()511 a->ar_pln != 4 || in get_arp_pkt()