diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-05 04:27:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-09-05 04:27:06 +0000 |
commit | 37097dc262c90509c88f1b095ef6a287b23412b0 (patch) | |
tree | f94d1c1d6cc4d116d80eb8916dad7ccbd91f2137 /sys/net/slcompress.h | |
parent | 3198efbfbe6982841a10db5ae7cd6fc9c6a2a92b (diff) |
Minor changes from ppp 2.3.1
Diffstat (limited to 'sys/net/slcompress.h')
-rw-r--r-- | sys/net/slcompress.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/sys/net/slcompress.h b/sys/net/slcompress.h index 9884539b974..c52b485126e 100644 --- a/sys/net/slcompress.h +++ b/sys/net/slcompress.h @@ -1,5 +1,5 @@ -/* $OpenBSD: slcompress.h,v 1.2 1997/02/24 13:34:04 niklas Exp $ */ -/* $NetBSD: slcompress.h,v 1.9 1995/07/04 06:28:29 paulus Exp $ */ +/* $OpenBSD: slcompress.h,v 1.3 1997/09/05 04:27:05 millert Exp $ */ +/* $NetBSD: slcompress.h,v 1.11 1997/05/17 21:12:11 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -43,6 +43,9 @@ * - Initial distribution. */ +#ifndef _SLCOMPRESS_H_ +#define _SLCOMPRESS_H_ + #define MAX_STATES 16 /* must be > 2 and < 256 */ #define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */ @@ -155,9 +158,12 @@ struct slcompress { /* flag values */ #define SLF_TOSS 1 /* tossing rcvd frames because of input err */ -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 *)); +void sl_compress_init __P((struct slcompress *)); +void sl_compress_setup __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 /* _SLCOMPRESS_H_ */ |