Searched refs:ETHER_HDR_SIZE (Results 1 – 11 of 11) sorted by relevance
48 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()
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()
274 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()
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()
1108 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()
20 #define ETHER_HDR_SIZE sizeof(struct ether_hdr) macro
473 aa1x_hdr = (struct ieee802_1x_hdr *)(priv->rxp + ETHER_HDR_SIZE); in hostif_data_indication()
303 #define ETHER_HDR_SIZE (sizeof(struct ethernet_hdr)) macro
793 + ETHER_HDR_SIZE in rndis_init_response()
1530 size = (ETHER_HDR_SIZE + dev->mtu + RX_EXTRA); in rx_submit()