Searched refs:SIZEOF_ETH_HDR (Results 1 – 3 of 3) sorted by relevance
86 u16_t next_hdr_offset = SIZEOF_ETH_HDR;91 if (p->len <= SIZEOF_ETH_HDR) {116 struct eth_vlan_hdr *vlan = (struct eth_vlan_hdr *)(((char *)ethhdr) + SIZEOF_ETH_HDR);117 next_hdr_offset = SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR;118 if (p->len <= SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) {283 if (pbuf_add_header(p, SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) != 0) {286 vlanhdr = (struct eth_vlan_hdr *)(((u8_t *)p->payload) + SIZEOF_ETH_HDR);294 if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) {
89 #define SIZEOF_ETH_HDR (14 + ETH_PAD_SIZE) macro
31 if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) {