Lines Matching refs:MPPE_OVHD
124 #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()
559 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ in mppe_decompress()