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

/linux-4.4.14/drivers/net/ppp/
H A Dppp_mppe.c129 #define MPPE_OVHD 2 /* MPPE overhead/packet */ macro
364 * MPPE_OVHD + 2 bytes larger than the input.
383 if (osize < isize + MPPE_OVHD + 2) { mppe_compress()
387 osize, osize + MPPE_OVHD + 2); mppe_compress()
391 osize = isize + MPPE_OVHD + 2; mppe_compress()
420 obuf += MPPE_OVHD; mppe_compress()
443 * Since every frame grows by MPPE_OVHD + 2 bytes, this is always going
483 if (isize <= PPP_HDRLEN + MPPE_OVHD) { mppe_decompress()
494 * mppe_compress() we added 2 bytes (+MPPE_OVHD); mppe_decompress()
497 if (osize < isize - MPPE_OVHD - 1) { mppe_decompress()
500 osize, isize - MPPE_OVHD - 1); mppe_decompress()
503 osize = isize - MPPE_OVHD - 2; /* assume no PFC */ mppe_decompress()
600 ibuf += PPP_HDRLEN + MPPE_OVHD; mppe_decompress()
601 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ mppe_decompress()

Completed in 41 milliseconds