Searched refs:SIZEOF_ETH_HDR (Results 1 – 2 of 2) sorted by relevance
86 u16_t next_hdr_offset = SIZEOF_ETH_HDR;91 if (p->len <= SIZEOF_ETH_HDR) {112 struct eth_vlan_hdr *vlan = (struct eth_vlan_hdr *)(((char *)ethhdr) + SIZEOF_ETH_HDR);113 next_hdr_offset = SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR;114 if (p->len <= SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) {291 if (pbuf_add_header(p, SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) != 0) {294 vlanhdr = (struct eth_vlan_hdr *)(((u8_t *)p->payload) + SIZEOF_ETH_HDR);302 if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) {
89 #define SIZEOF_ETH_HDR (14 + ETH_PAD_SIZE) macro
Completed in 4 milliseconds