Searched refs:ar_spa (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/net/ |
H A D | if_arp.h | 68 u_char ar_spa[]; /* sender protocol address */ member 75 #define ar_spa(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln) macro
|
H A D | debugnet_inet.c | 257 ((struct in_addr *)ar_spa(ah))->s_addr = pcb->dp_client; in debugnet_send_arp() 323 memcpy(&isaddr, ar_spa(ah), sizeof(isaddr)); in debugnet_handle_arp() 381 memcpy(ar_tpa(ah), ar_spa(ah), ah->ar_pln); in debugnet_handle_arp() 382 memcpy(ar_spa(ah), &itaddr, ah->ar_pln); in debugnet_handle_arp()
|
/freebsd/contrib/tcpdump/ |
H A D | print-arp.c | 73 nd_byte ar_spa[]; /* sender protocol address */ member 78 #define ar_spa(ap) (((const u_char *)((ap)+1))+ GET_U_1((ap)->ar_hln)) macro 91 #define SPA(ap) (ar_spa(ap))
|
/freebsd/sys/netinet/ |
H A D | if_ether.c | 407 bcopy(sip, ar_spa(ah), ah->ar_pln); in arprequest_internal() 822 (void)memcpy(&isaddr, ar_spa(ah), sizeof (isaddr)); in in_arpinput() 1084 (void)memcpy(ar_tpa(ah), ar_spa(ah), ah->ar_pln); in in_arpinput() 1085 (void)memcpy(ar_spa(ah), &itaddr, ah->ar_pln); in in_arpinput()
|