Searched refs:PPPOE_HEADERLEN (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/netif/ppp/ |
D | pppoe.c | 222 ph = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN), PBUF_RAM); in pppoe_write() 231 pbuf_remove_header(ph, PPPOE_HEADERLEN); /* hide PPPoE header */ in pppoe_write() 263 pb = pbuf_alloc(PBUF_LINK, PPPOE_HEADERLEN + sizeof(protocol), PBUF_RAM); in pppoe_netif_output() 271 pbuf_remove_header(pb, PPPOE_HEADERLEN); in pppoe_netif_output() 694 if (pbuf_remove_header(pb, PPPOE_HEADERLEN) != 0) { in pppoe_data_input() 774 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padi() 777 pb = pbuf_alloc(PBUF_LINK, (u16_t)(PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi() 910 …lcp_wo->mru = sc->sc_ethif->mtu-PPPOE_HEADERLEN-2; /* two byte PPP protocol discriminator, then IP… in pppoe_connect() 918 …lcp_ao->mru = sc->sc_ethif->mtu-PPPOE_HEADERLEN-2; /* two byte PPP protocol discriminator, then IP… in pppoe_connect() 997 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padr() [all …]
|
/third_party/lwip/src/include/netif/ppp/ |
D | pppoe.h | 119 #define PPPOE_HEADERLEN sizeof(struct pppoehdr) macro
|