Searched refs:SIZEOF_ETH_HDR (Results 1 – 2 of 2) sorted by relevance
85 #define SIZEOF_ETH_HDR (14 + ETH_PAD_SIZE) macro132 #define SIZEOF_ETHARP_PACKET (SIZEOF_ETH_HDR + SIZEOF_ETHARP_HDR)
649 iphdr = (struct ip_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR);652 iphdr = (struct ip_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR);714 hdr = (struct etharp_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR);717 hdr = (struct etharp_hdr *)(((u8_t*)ethhdr) + SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR);1204 hdr = (struct etharp_hdr *)((u8_t*)ethhdr + SIZEOF_ETH_HDR);1282 s16_t ip_hdr_offset = SIZEOF_ETH_HDR;1285 if (p->len <= SIZEOF_ETH_HDR) {1305 struct eth_vlan_hdr *vlan = (struct eth_vlan_hdr*)(((char*)ethhdr) + SIZEOF_ETH_HDR);1306 if (p->len <= SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) {1324 ip_hdr_offset = SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR;
Completed in 6 milliseconds