X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=include%2Flinux%2Fppp-comp.h;h=92aa64572433c5c2cb3cff38162f566f8c143ed3;hb=1087f9d96079f0eebd0102fa4f04ad6bee28e4f7;hp=cc56636ca2347822716e5fa761937027938232a8;hpb=6df1318f7c7c2afa76293e90671aac884488a19d;p=ppp.git diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h index cc56636..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. * - * $Id: ppp-comp.h,v 1.6 1997/11/27 06:04:44 paulus Exp $ + * $Id: ppp-comp.h,v 1.8 1999/07/23 06:53:40 paulus Exp $ */ /* - * ==FILEVERSION 971024== + * ==FILEVERSION 980319== * * NOTE TO MAINTAINERS: * If you modify this file at all, please set the above date. @@ -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 */