Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dsandbox-raw.c51 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_eth_raw_send()
61 packet += ETHER_HDR_SIZE; in sb_eth_raw_send()
62 length -= ETHER_HDR_SIZE; in sb_eth_raw_send()
76 ETHER_HDR_SIZE; in sb_eth_raw_recv()
102 net_rx_packets[0] + ETHER_HDR_SIZE : net_rx_packets[0]; in sb_eth_raw_recv()
116 length += ETHER_HDR_SIZE; in sb_eth_raw_recv()
Dsandbox.c81 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_eth_send()
97 ETHER_HDR_SIZE; in sb_eth_send()
109 priv->recv_packet_length = ETHER_HDR_SIZE + in sb_eth_send()
113 struct ip_udp_hdr *ip = packet + ETHER_HDR_SIZE; in sb_eth_send()
128 ETHER_HDR_SIZE; in sb_eth_send()
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()
Dmvpp2.c71 #define ETH_HLEN ETHER_HDR_SIZE /* Total octets in header */
/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.c1071 if (len < ETHER_HDR_SIZE) in net_process_received_packet()
1107 ip = (struct ip_udp_hdr *)(in_packet + ETHER_HDR_SIZE); in net_process_received_packet()
1108 len -= ETHER_HDR_SIZE; in net_process_received_packet()
1406 return ((myvlanid & VLAN_IDMASK) == VLAN_NONE) ? ETHER_HDR_SIZE : in net_eth_hdr_size()
1423 return ETHER_HDR_SIZE; in net_set_ether()
1449 return ETHER_HDR_SIZE; in net_update_ether()
/external/u-boot/include/
Dnet.h311 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) macro
/external/u-boot/drivers/usb/gadget/
Drndis.c799 + ETHER_HDR_SIZE in rndis_init_response()
Dether.c1538 size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA); in rx_submit()