Searched refs:ar_pln (Results 1 - 8 of 8) sorted by relevance
/freebsd-13-stable/sys/net/ |
H A D | if_arp.h | 57 u_char ar_pln; /* length of protocol address */ member in struct:arphdr 79 #define ar_tha(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln + (ap)->ar_pln) 80 #define ar_tpa(ap) (((caddr_t)((ap)+1)) + 2*(ap)->ar_hln + (ap)->ar_pln) 82 #define arphdr_len2(ar_hln, ar_pln) \ 83 (sizeof(struct arphdr) + 2*(ar_hln) + 2*(ar_pln)) 84 #define arphdr_len(ap) (arphdr_len2((ap)->ar_hln, (ap)->ar_pln))
|
H A D | debugnet_inet.c | 252 ah->ar_pln = sizeof(struct in_addr); 373 memcpy(ar_tpa(ah), ar_spa(ah), ah->ar_pln); 374 memcpy(ar_spa(ah), &itaddr, ah->ar_pln);
|
H A D | if_fwsubr.c | 170 bcopy(ar_tpa(ah), ar_tha(ah), ah->ar_pln); 619 bcopy(ar_tha(ah), ar_tpa(ah), ah->ar_pln);
|
/freebsd-13-stable/sys/netinet/ |
H A D | if_ether.h | 91 #define arp_pln ea_hdr.ar_pln
|
H A D | if_ether.c | 419 ah->ar_pln = sizeof(struct in_addr); /* protocol address length */ 422 bcopy(sip, ar_spa(ah), ah->ar_pln); 423 bcopy(tip, ar_tpa(ah), ah->ar_pln); 835 if (ah->ar_pln != sizeof(struct in_addr)) { 1119 (void)memcpy(ar_tpa(ah), ar_spa(ah), ah->ar_pln); 1120 (void)memcpy(ar_spa(ah), &itaddr, ah->ar_pln); 1123 m->m_len = sizeof(*ah) + (2 * ah->ar_pln) + (2 * ah->ar_hln);
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-arp.c | 61 u_char ar_pln; /* length of protocol address */ member in struct:arp_pkthdr 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) 91 #define PROTO_LEN(ap) ((ap)->ar_pln)
|
/freebsd-13-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 1174 h->ar_pln = 4; 1674 h->ar_pln = 4;
|
/freebsd-13-stable/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 2102 ep->ea_hdr.ar_pln = 4;
|
Completed in 148 milliseconds