Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dsandbox-raw.c49 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_eth_raw_send()
59 packet += ETHER_HDR_SIZE; in sb_eth_raw_send()
60 length -= ETHER_HDR_SIZE; in sb_eth_raw_send()
74 ETHER_HDR_SIZE; in sb_eth_raw_recv()
100 net_rx_packets[0] + ETHER_HDR_SIZE : net_rx_packets[0]; in sb_eth_raw_recv()
114 length += ETHER_HDR_SIZE; in sb_eth_raw_recv()
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()
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()
/external/u-boot/test/dm/
Deth.c275 arp = packet + ETHER_HDR_SIZE; in sb_check_arp_reply()
306 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_arp_handler()
361 ip = packet + ETHER_HDR_SIZE; in sb_check_ping_reply()
391 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_ping_handler()
/external/u-boot/net/
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()
Dnet.c1100 if (len < ETHER_HDR_SIZE) in net_process_received_packet()
1136 ip = (struct ip_udp_hdr *)(in_packet + ETHER_HDR_SIZE); in net_process_received_packet()
1137 len -= ETHER_HDR_SIZE; in net_process_received_packet()
1429 return ((myvlanid & VLAN_IDMASK) == VLAN_NONE) ? ETHER_HDR_SIZE : in net_eth_hdr_size()
1446 return ETHER_HDR_SIZE; in net_set_ether()
1472 return ETHER_HDR_SIZE; in net_update_ether()
/external/u-boot/include/
Dnet.h307 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) macro
/external/u-boot/lib/efi_loader/
Defi_net.c883 netobj->net_mode.media_header_size = ETHER_HDR_SIZE; in efi_net_register()
/external/u-boot/drivers/usb/gadget/
Drndis.c793 + ETHER_HDR_SIZE in rndis_init_response()
Dether.c1530 size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA); in rx_submit()