Home
last modified time | relevance | path

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

/third_party/lwip/src/netif/ppp/
Dmppe.c54 #define MPPE_OVHD 2 /* MPPE overhead/packet */ macro
204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_RAM); in mppe_compress()
210 pbuf_remove_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress()
218 pbuf_add_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress()
241 pl += MPPE_OVHD; in mppe_compress()
249 pbuf_remove_header(np, MPPE_OVHD); in mppe_compress()
260 pbuf_add_header(np, MPPE_OVHD); in mppe_compress()
287 if (n0->len < MPPE_OVHD) { in mppe_decompress()
385 pbuf_remove_header(n0, MPPE_OVHD); in mppe_decompress()