Home
last modified time | relevance | path

Searched refs:hd_addr (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c69 unsigned char hd_addr[ETH_ALEN]; member
75 unsigned char hd_addr[ETH_ALEN]; member
303 if (memcmp(gateway_p->hd_addr, new_hd_addr, ETH_ALEN)) { in return_arp_reply()
304 memcpy(gateway_p->hd_addr, new_hd_addr, ETH_ALEN); in return_arp_reply()
327 memcpy(sndeth.hdr.h_source, gateway_p->hd_addr, ETH_ALEN); in return_arp_reply()
336 memcpy(sndarp_p->ar_sha, gateway_p->hd_addr, ETH_ALEN); in return_arp_reply()
377 if (memcmp(rcveth_p->hdr.h_dest, new_gw_p->hd_addr, ETH_ALEN) == 0) { in return_icmp4_redirect()
383 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp4_redirect()
401 memcpy(sndeth.hdr.h_source, gw_p->hd_addr, ETH_ALEN); in return_icmp4_redirect()
493 if (memcmp(gateway_p->hd_addr, new_hd_addr, ETH_ALEN)) { in return_neigh_adv()
[all …]