Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dsandbox-raw.c48 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_eth_raw_send()
58 packet += ETHER_HDR_SIZE; in sb_eth_raw_send()
59 length -= ETHER_HDR_SIZE; in sb_eth_raw_send()
73 ETHER_HDR_SIZE; in sb_eth_raw_recv()
99 net_rx_packets[0] + ETHER_HDR_SIZE : net_rx_packets[0]; in sb_eth_raw_recv()
113 length += ETHER_HDR_SIZE; in sb_eth_raw_recv()
H A Dsandbox.c69 arp = packet + ETHER_HDR_SIZE; in sandbox_eth_arp_req_to_reply()
87 arp_recv = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_arp_req_to_reply()
99 ETHER_HDR_SIZE + ARP_HDR_SIZE; in sandbox_eth_arp_req_to_reply()
126 ip = packet + ETHER_HDR_SIZE; in sandbox_eth_ping_req_to_reply()
143 ipr = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_ping_req_to_reply()
186 arp_recv = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_recv_arp_req()
198 ETHER_HDR_SIZE + ARP_HDR_SIZE; in sandbox_eth_recv_arp_req()
229 ipr = (void *)eth_recv + ETHER_HDR_SIZE; in sandbox_eth_recv_ping_req()
249 ETHER_HDR_SIZE + IP_ICMP_HDR_SIZE; in sandbox_eth_recv_ping_req()
H A Dxilinx_emaclite.c503 first_read = ALIGN(ETHER_HDR_SIZE + ARP_HDR_SIZE + ETH_FCS_LEN, 4); in emaclite_recv()
514 ip = (struct ip_udp_hdr *)(etherrxbuff + ETHER_HDR_SIZE); in emaclite_recv()
516 length += ETHER_HDR_SIZE + ETH_FCS_LEN; in emaclite_recv()
/openbmc/u-boot/test/dm/
H A Deth.c274 arp = packet + ETHER_HDR_SIZE; in sb_check_arp_reply()
305 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_arp_handler()
360 ip = packet + ETHER_HDR_SIZE; in sb_check_ping_reply()
390 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_ping_handler()
/openbmc/u-boot/net/
H A Dcdp.c128 pkt += ETHER_HDR_SIZE; in cdp_send_trigger()
208 len = (uchar *)s - ((uchar *)net_tx_packet + ETHER_HDR_SIZE); in cdp_send_trigger()
211 len = ETHER_HDR_SIZE + sizeof(cdp_snap_hdr); in cdp_send_trigger()
H A Dnet.c1108 if (len < ETHER_HDR_SIZE) in net_process_received_packet()
1144 ip = (struct ip_udp_hdr *)(in_packet + ETHER_HDR_SIZE); in net_process_received_packet()
1145 len -= ETHER_HDR_SIZE; in net_process_received_packet()
1451 return ((myvlanid & VLAN_IDMASK) == VLAN_NONE) ? ETHER_HDR_SIZE : in net_eth_hdr_size()
1468 return ETHER_HDR_SIZE; in net_set_ether()
1494 return ETHER_HDR_SIZE; in net_update_ether()
/openbmc/linux/drivers/staging/ks7010/
H A Deap_packet.h20 #define ETHER_HDR_SIZE sizeof(struct ether_hdr) macro
H A Dks_hostif.c473 aa1x_hdr = (struct ieee802_1x_hdr *)(priv->rxp + ETHER_HDR_SIZE); in hostif_data_indication()
/openbmc/u-boot/include/
H A Dnet.h303 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) macro
/openbmc/u-boot/drivers/usb/gadget/
H A Drndis.c793 + ETHER_HDR_SIZE in rndis_init_response()
H A Dether.c1530 size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA); in rx_submit()