Searched refs:PPPOE_HEADERLEN (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/core/lwip/src/include/netif/ |
D | ppp_oe.h | 116 #define PPPOE_HEADERLEN sizeof(struct pppoehdr) macro 141 #define PPPOE_MAXMTU (ETHERMTU-PPPOE_HEADERLEN-2) 186 #define PPPOE_HDRLEN (sizeof(struct eth_hdr) + PPPOE_HEADERLEN)
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | ppp_oe.c | 321 if (pb->len - off < PPPOE_HEADERLEN) { in pppoe_dispatch_disc_pkt() 582 if (pb->len <= PPPOE_HEADERLEN) { in pppoe_data_input() 613 if (pbuf_header(pb, -(int)(PPPOE_HEADERLEN)) != 0) { in pppoe_data_input() 694 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padi() 697 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padi() 913 sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len <= 0xffff); in pppoe_send_padr() 914 pb = pbuf_alloc(PBUF_LINK, (u16_t)(sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len), PBUF_RAM); in pppoe_send_padr() 954 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN, PBUF_RAM); in pppoe_send_padt() 993 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len, PBUF_RAM); in pppoe_send_pado() 1030 pb = pbuf_alloc(PBUF_LINK, sizeof(struct eth_hdr) + PPPOE_HEADERLEN + len, PBUF_RAM); in pppoe_send_pads() [all …]
|