X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fccp.h;h=12e27802892e8720866c89547e382e7a8c20a17e;hp=a2435bb4c355e7e5d86dc6fbc3a83e2b973d5d7d;hb=dee72905271845128ad26cff5cf770c433f3f4a7;hpb=dd0bf70f1610a74e26c03972bfd639f8c03ad56b diff --git a/pppd/ccp.h b/pppd/ccp.h index a2435bb..12e2780 100644 --- a/pppd/ccp.h +++ b/pppd/ccp.h @@ -24,28 +24,18 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ccp.h,v 1.3 1994/10/18 02:07:33 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_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[];