$NetBSD: patch-bv,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $ --- /u1/tmp/ppp-2.3.9/include/net/ppp-comp.h Tue Mar 24 22:33:32 1998 +++ include/net/ppp-comp.h Wed Sep 29 23:00:54 1999 @@ -42,6 +42,9 @@ #endif #define DO_PREDICTOR_1 0 #define DO_PREDICTOR_2 0 +#ifndef DO_MPPENCRYPT +#define DO_MPPENCRYPT 1 +#endif /* * Structure giving methods for compression/decompression. @@ -109,7 +112,7 @@ /* * Max # bytes for a CCP option */ -#define CCP_MAX_OPTION_LENGTH 32 +#define CCP_MAX_OPTION_LENGTH 64 /* * Parts of a CCP packet. @@ -153,6 +156,13 @@ #define DEFLATE_MAKE_OPT(w) ((((w) - DEFLATE_MIN_SIZE) << 4) \ + DEFLATE_METHOD_VAL) #define DEFLATE_CHK_SEQUENCE 0 + +/* + * Definitions for MPPE. + */ + +#define CI_MPPE 18 /* config. option for MPPE */ +#define CILEN_MPPE 6 /* length of config. option */ /* * Definitions for other, as yet unsupported, compression methods.