Lines Matching refs:MPPE_OVHD
129 #define MPPE_OVHD 2 /* MPPE overhead/packet */
364 * MPPE_OVHD + 2 bytes larger than the input.
383 if (osize < isize + MPPE_OVHD + 2) {
387 osize, osize + MPPE_OVHD + 2);
391 osize = isize + MPPE_OVHD + 2;
398 obuf[2] = PPP_COMP >> 8; /* isize + MPPE_OVHD + 1 */
399 obuf[3] = PPP_COMP; /* isize + MPPE_OVHD + 2 */
422 obuf += MPPE_OVHD;
445 * Since every frame grows by MPPE_OVHD + 2 bytes, this is always going
486 if (isize <= PPP_HDRLEN + MPPE_OVHD) {
497 * mppe_compress() we added 2 bytes (+MPPE_OVHD);
500 if (osize < isize - MPPE_OVHD - 1) {
503 osize, isize - MPPE_OVHD - 1);
506 osize = isize - MPPE_OVHD - 2; /* assume no PFC */
608 ibuf += PPP_HDRLEN + MPPE_OVHD;
609 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */