Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dsandbox.c63 struct ethernet_hdr *eth_recv; in sandbox_eth_arp_req_to_reply() local
82 eth_recv = (void *)priv->recv_packet_buffer[priv->recv_packets]; in sandbox_eth_arp_req_to_reply()
83 memcpy(eth_recv->et_dest, eth->et_src, ARP_HLEN); in sandbox_eth_arp_req_to_reply()
84 memcpy(eth_recv->et_src, priv->fake_host_hwaddr, ARP_HLEN); in sandbox_eth_arp_req_to_reply()
85 eth_recv->et_protlen = htons(PROT_ARP); in sandbox_eth_arp_req_to_reply()
87 arp_recv = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_arp_req_to_reply()
119 struct ethernet_hdr *eth_recv; in sandbox_eth_ping_req_to_reply() local
141 eth_recv = (void *)priv->recv_packet_buffer[priv->recv_packets]; in sandbox_eth_ping_req_to_reply()
142 memcpy(eth_recv, packet, len); in sandbox_eth_ping_req_to_reply()
143 ipr = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_ping_req_to_reply()
[all …]