* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
- * $Id: ccp.h,v 1.2 1994/09/21 06:47:37 paulus Exp $
+ * $Id: ccp.h,v 1.5 1995/10/27 03:43:11 paulus Exp $
*/
-/*
- * Compression algorithms = configuration options
- */
-#define CI_BSD_COMPRESS 0x21 /* BSD Compress */
-
-/*
- * Extra codes for CCP.
- */
-#define RESETREQ 14
-#define RESETACK 15
-
typedef struct ccp_options {
- u_short bsd_compress: 1; /* do BSD Compress? */
+ u_int bsd_compress: 1; /* do BSD Compress? */
+ u_int deflate: 1; /* do Deflate? */
+ u_int predictor_1: 1; /* do Predictor-1? */
+ u_int predictor_2: 1; /* do Predictor-2? */
u_short bsd_bits; /* # bits/code for BSD Compress */
+ u_short deflate_size; /* lg(window size) for Deflate */
} ccp_options;
-#define MIN_BSD_BITS 9
-#define MAX_BSD_BITS 15
-
extern fsm ccp_fsm[];
extern ccp_options ccp_wantoptions[];
extern ccp_options ccp_gotoptions[];