Searched defs:ar_sha (Results 1 - 3 of 3) sorted by relevance

/external/tcpdump/
H A Dprint-arp.c48 * It is followed by the variable-sized fields ar_sha, arp_spa,
78 u_char ar_sha[]; /* sender hardware address */ member in struct:arp_pkthdr
83 #define ar_sha(ap) (((const u_char *)((ap)+1))+0) macro
96 #define SHA(ap) (ar_sha(ap))
/external/qemu/slirp/
H A Dslirp.c591 unsigned char ar_sha[ETH_ALEN]; /* sender hardware address */ member in struct:arphdr
633 memcpy(rah->ar_sha, reh->h_source, ETH_ALEN);
635 memcpy(rah->ar_tha, ah->ar_sha, ETH_ALEN);
644 memcpy(client_ethaddr, ah->ar_sha, ETH_ALEN);
716 memcpy(rah->ar_sha, special_ethaddr, ETH_ALEN - 1);
717 rah->ar_sha[5] = CTL_ALIAS;
/external/qemu/slirp-android/
H A Dslirp.c680 unsigned char ar_sha[ETH_ALEN]; /* sender hardware address */ member in struct:arphdr
726 memcpy(rah->ar_sha, reh->h_source, ETH_ALEN);
728 memcpy(rah->ar_tha, ah->ar_sha, ETH_ALEN);
737 memcpy(client_ethaddr, ah->ar_sha, ETH_ALEN);
809 memcpy(rah->ar_sha, special_ethaddr, ETH_ALEN - 1);
810 rah->ar_sha[5] = CTL_ALIAS;

Completed in 101 milliseconds