Home
last modified time | relevance | path

Searched refs:SIZEOF_ETH_HDR (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/netif/
Dethernet.c86 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) {
/third_party/lwip/src/include/lwip/prot/
Dethernet.h89 #define SIZEOF_ETH_HDR (14 + ETH_PAD_SIZE) macro
/third_party/lwip/
Dbackport-fix-compiling-ETHARP_SUPPORT_VLAN.patch31 if (pbuf_add_header(p, SIZEOF_ETH_HDR) != 0) {