Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dsandbox.c61 struct ethernet_hdr *eth = packet; in sandbox_eth_arp_req_to_reply()
63 struct ethernet_hdr *eth_recv; in sandbox_eth_arp_req_to_reply()
116 struct ethernet_hdr *eth = packet; in sandbox_eth_ping_req_to_reply()
119 struct ethernet_hdr *eth_recv; in sandbox_eth_ping_req_to_reply()
173 struct ethernet_hdr *eth_recv; in sandbox_eth_recv_arp_req()
214 struct ethernet_hdr *eth_recv; in sandbox_eth_recv_ping_req()
H A Dsandbox-raw.c45 struct ethernet_hdr *eth = packet; in sb_eth_raw_send()
106 struct ethernet_hdr *eth = (void *)net_rx_packets[0]; in sb_eth_raw_recv()
H A Dxilinx_emaclite.c460 struct ethernet_hdr *eth; in emaclite_recv()
507 eth = (struct ethernet_hdr *)etherrxbuff; in emaclite_recv()
/openbmc/u-boot/test/dm/
H A Deth.c266 struct ethernet_hdr *eth = packet; in sb_check_arp_reply()
304 struct ethernet_hdr *eth = packet; in sb_with_async_arp_handler()
351 struct ethernet_hdr *eth = packet; in sb_check_ping_reply()
389 struct ethernet_hdr *eth = packet; in sb_with_async_ping_handler()
/openbmc/u-boot/lib/efi_loader/
H A Defi_net.c458 struct ethernet_hdr *eth_hdr; in efi_net_receive()
459 size_t hdr_size = sizeof(struct ethernet_hdr); in efi_net_receive()
490 if (net_rx_packet_len < sizeof(struct ethernet_hdr)) { in efi_net_receive()
496 eth_hdr = (struct ethernet_hdr *)net_rx_packet; in efi_net_receive()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c60 struct ethernet_hdr eth_hdr;
117 sizeof(struct ethernet_hdr)); in send_dhcp_discover()
131 sizeof(struct ethernet_hdr) - in send_dhcp_discover()
/openbmc/u-boot/include/net/
H A Dncsi.h12 void ncsi_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip,
/openbmc/u-boot/net/
H A Dping.h30 void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
H A Darp.h30 void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
H A Darp.c123 void arp_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len) in arp_receive()
221 memcpy(((struct ethernet_hdr *)net_tx_packet)->et_dest, in arp_receive()
H A Dnet.c1063 struct in_addr src_ip, struct ethernet_hdr *et) in receive_icmp()
1091 struct ethernet_hdr *et; in net_process_received_packet()
1105 et = (struct ethernet_hdr *)in_packet; in net_process_received_packet()
1457 struct ethernet_hdr *et = (struct ethernet_hdr *)xet; in net_set_ether()
1480 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot) in net_update_ether()
H A Dcdp.c111 struct ethernet_hdr *et; in cdp_send_trigger()
120 et = (struct ethernet_hdr *)pkt; in cdp_send_trigger()
H A Dping.c77 void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len) in ping_receive()
H A Dbootp.c160 ((struct ethernet_hdr *)net_rx_packet)->et_src, 6); in store_net_params()
/openbmc/u-boot/include/
H A Dnet.h296 struct ethernet_hdr { struct
303 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) argument
585 int net_update_ether(struct ethernet_hdr *et, uchar *addr, uint prot);
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c631 void ncsi_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, in ncsi_receive()