Searched refs:reh (Results 1 - 2 of 2) sorted by relevance

/external/qemu/slirp/
H A Dslirp.c602 struct ethhdr *reh = (struct ethhdr *)arp_reply; local
623 memcpy(reh->h_dest, pkt + ETH_ALEN, ETH_ALEN);
624 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
625 reh->h_source[5] = ah->ar_tip[3];
626 reh->h_proto = htons(ETH_P_ARP);
633 memcpy(rah->ar_sha, reh->h_source, ETH_ALEN);
697 struct ethhdr *reh = (struct ethhdr *)arp_req; local
706 memset(reh->h_dest, 0xff, ETH_ALEN);
707 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
708 reh
[all...]
/external/qemu/slirp-android/
H A Dslirp.c683 struct ethhdr *reh = (struct ethhdr *)arp_reply; local
708 memcpy(reh->h_dest, pkt + ETH_ALEN, ETH_ALEN);
709 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
710 reh->h_source[5] = ar_tip_low;
711 reh->h_proto = htons(ETH_P_ARP);
718 memcpy(rah->ar_sha, reh->h_source, ETH_ALEN);
782 struct ethhdr *reh = (struct ethhdr *)arp_req; local
791 memset(reh->h_dest, 0xff, ETH_ALEN);
792 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
793 reh
[all...]

Completed in 100 milliseconds