Searched refs:ar_tha (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/net/ |
H A D | if_arp.h | 69 u_char ar_tha[]; /* target hardware address */ member 76 #define ar_tha(ap) (((caddr_t)((ap)+1)) + (ap)->ar_hln + (ap)->ar_pln) macro
|
H A D | debugnet_inet.c | 258 bzero(ar_tha(ah), ETHER_ADDR_LEN); in debugnet_send_arp() 379 memcpy(ar_tha(ah), ar_sha(ah), ah->ar_hln); in debugnet_handle_arp() 389 memcpy(dst.octet, ar_tha(ah), ETHER_ADDR_LEN); in debugnet_handle_arp()
|
H A D | if_fwsubr.c | 182 *destfw = *(struct fw_hwaddr *) ar_tha(ah); in firewire_output() 188 bcopy(ar_tpa(ah), ar_tha(ah), ah->ar_pln); in firewire_output() 636 bcopy(ar_tha(ah), ar_tpa(ah), ah->ar_pln); in firewire_input()
|
/freebsd/contrib/tcpdump/ |
H A D | print-arp.c | 74 nd_byte ar_tha[]; /* target hardware address */ member 79 #define ar_tha(ap) (((const u_char *)((ap)+1))+ GET_U_1((ap)->ar_hln)+GET_U_1((ap)->ar_pln)) macro 92 #define THA(ap) (ar_tha(ap))
|
/freebsd/sys/netinet/ |
H A D | if_ether.c | 327 ereq.lladdr = ar_tha(ah); in arp_fillheader() 1007 (void)memcpy(ar_tha(ah), ar_sha(ah), ah->ar_hln); in in_arpinput() 1020 (void)memcpy(ar_tha(ah), ar_sha(ah), ah->ar_hln); in in_arpinput() 1043 (void)memcpy(ar_tha(ah), ar_sha(ah), ah->ar_hln); in in_arpinput()
|