X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=include%2Flinux%2Fppp-comp.h;h=92aa64572433c5c2cb3cff38162f566f8c143ed3;hb=2e53641535da26bf8c3c424172758ed81d908581;hp=b6792cf8a9d42e0c88aa93a8e05a97e9a00de8aa;hpb=79513b316790e843c33beb95309ab98e29639d57;p=ppp.git diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h index b6792cf..92aa645 100644 --- a/include/linux/ppp-comp.h +++ b/include/linux/ppp-comp.h @@ -24,11 +24,11 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * From: ppp-comp.h,v 1.7 1995/05/01 01:43:37 paulus Exp + * $Id: ppp-comp.h,v 1.8 1999/07/23 06:53:40 paulus Exp $ */ /* - * ==FILEVERSION 960918== + * ==FILEVERSION 980319== * * NOTE TO MAINTAINERS: * If you modify this file at all, please set the above date. @@ -120,8 +120,8 @@ struct compressor { * Don't you just lurve software patents. */ -#define DECOMP_ERROR 1 /* error detected before decomp. */ -#define DECOMP_FATALERROR 2 /* error detected after decomp. */ +#define DECOMP_ERROR -1 /* error detected before decomp. */ +#define DECOMP_FATALERROR -2 /* error detected after decomp. */ /* * CCP codes. @@ -173,7 +173,8 @@ struct compressor { * Definitions for Deflate. */ -#define CI_DEFLATE 24 /* config option for Deflate */ +#define CI_DEFLATE 26 /* config option for Deflate */ +#define CI_DEFLATE_DRAFT 24 /* value used in original draft RFC */ #define CILEN_DEFLATE 4 /* length of its config option */ #define DEFLATE_MIN_SIZE 8 @@ -194,4 +195,9 @@ struct compressor { #define CI_PREDICTOR_2 2 /* config option for Predictor-2 */ #define CILEN_PREDICTOR_2 2 /* length of its config option */ +#ifdef __KERNEL__ +extern int ppp_register_compressor(struct compressor *); +extern void ppp_unregister_compressor(struct compressor *); +#endif /* __KERNEL__ */ + #endif /* _NET_PPP_COMP_H */