Home
last modified time | relevance | path

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

/drivers/net/
A Dsandbox.c137 struct arphdr *arp_recv; in sandbox_eth_arp_req_to_reply() local
163 arp_recv->htype = htons(ARP_ETHER); in sandbox_eth_arp_req_to_reply()
164 arp_recv->ptype = htons(PROT_IP); in sandbox_eth_arp_req_to_reply()
165 arp_recv->hlen = ETHADDR_LEN; in sandbox_eth_arp_req_to_reply()
166 arp_recv->plen = IP4_LEN; in sandbox_eth_arp_req_to_reply()
167 arp_recv->op = htons(ARP_REPLY); in sandbox_eth_arp_req_to_reply()
250 struct arphdr *arp_recv; in sandbox_eth_recv_arp_req() local
265 arp_recv->ptype = htons(PROT_IP); in sandbox_eth_recv_arp_req()
266 arp_recv->hlen = ETHADDR_LEN; in sandbox_eth_recv_arp_req()
267 arp_recv->plen = IP4_LEN; in sandbox_eth_recv_arp_req()
[all …]

Completed in 5 milliseconds