Searched defs: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.c691 struct ethhdr *reh = (struct ethhdr *)arp_reply; local
716 memcpy(reh->h_dest, pkt + ETH_ALEN, ETH_ALEN);
717 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
718 reh->h_source[5] = ar_tip_low;
719 reh->h_proto = htons(ETH_P_ARP);
726 memcpy(rah->ar_sha, reh->h_source, ETH_ALEN);
790 struct ethhdr *reh = (struct ethhdr *)arp_req; local
799 memset(reh->h_dest, 0xff, ETH_ALEN);
800 memcpy(reh->h_source, special_ethaddr, ETH_ALEN - 1);
801 reh
[all...]

Completed in 97 milliseconds