Home
last modified time | relevance | path

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

/linux/drivers/net/ppp/
H A Dppp_mppe.c124 #define MPPE_OVHD 2 /* MPPE overhead/packet */ macro
351 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress()
355 osize, osize + MPPE_OVHD + 2); in mppe_compress()
359 osize = isize + MPPE_OVHD + 2; in mppe_compress()
388 obuf += MPPE_OVHD; in mppe_compress()
441 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress()
455 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress()
458 osize, isize - MPPE_OVHD - 1); in mppe_decompress()
461 osize = isize - MPPE_OVHD - 2; /* assume no PFC */ in mppe_decompress()
558 ibuf += PPP_HDRLEN + MPPE_OVHD; in mppe_decompress()
[all …]