diff options
author | peter <peter@FreeBSD.org> | 1995-10-31 19:22:32 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-10-31 19:22:32 +0000 |
commit | 8ba1da98f9cb498997b1deba65ec76d40273cb71 (patch) | |
tree | b7fff7afa4b0035e26a0a6f1fb5b136bd3ccacff /sys/net/slcompress.h | |
parent | b74381b72cf8a3f37a9fe6010e06aade190a257f (diff) | |
download | FreeBSD-src-8ba1da98f9cb498997b1deba65ec76d40273cb71.zip FreeBSD-src-8ba1da98f9cb498997b1deba65ec76d40273cb71.tar.gz |
slcompress: split one of the functions into two parts, to allow use by both
if_sl and if_ppp (from ppp-2.2), eliminating the nearly identical
pppcompress.[ch] code. Add maximum VJ compression states argument to
sl_compress_init().
if_sl: call sl_compress_init() with the extra argument.
Diffstat (limited to 'sys/net/slcompress.h')
-rw-r--r-- | sys/net/slcompress.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/slcompress.h b/sys/net/slcompress.h index 239f633..90a2c01 100644 --- a/sys/net/slcompress.h +++ b/sys/net/slcompress.h @@ -35,7 +35,7 @@ * * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: * - Initial distribution. - * $Id: slcompress.h,v 1.5 1994/08/22 14:16:36 bde Exp $ + * $Id: slcompress.h,v 1.6 1995/05/30 08:08:34 rgrimes Exp $ */ #ifndef _NET_SLCOMPRESS_H_ @@ -153,9 +153,11 @@ struct slcompress { /* flag values */ #define SLF_TOSS 1 /* tossing rcvd frames because of input err */ -void sl_compress_init __P((struct slcompress *)); +void sl_compress_init __P((struct slcompress *, int)); u_int sl_compress_tcp __P((struct mbuf *, struct ip *, struct slcompress *, int)); int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); +int sl_uncompress_tcp_core __P((u_char *, int, int, u_int, + struct slcompress *, u_char **, u_int *)); -#endif /* !_NET_SLCOMPRESS_H_ */ +#endif /* _NET_SLCOMPRESS_H_ */ |