Searched refs:ETHER_HDR_SIZE (Results 1 – 10 of 10) sorted by relevance
49 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()
69 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()
503 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()
275 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()
128 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()
1100 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()
307 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) macro
883 netobj->net_mode.media_header_size = ETHER_HDR_SIZE; in efi_net_register()
793 + ETHER_HDR_SIZE in rndis_init_response()
1530 size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA); in rx_submit()