diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1995-10-31 20:51:24 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1995-10-31 20:51:24 +0000 |
| commit | 1aea408cafea7c57cd1e0fb73e334f34b5c395f9 (patch) | |
| tree | bf6005a27b3376b2b046f22c0398aba6bae5dd11 /sys/net/bsd_comp.c | |
| parent | f2fdf012d4c34392dc19b5a5009fd259e169cf27 (diff) | |
Notes
Diffstat (limited to 'sys/net/bsd_comp.c')
| -rw-r--r-- | sys/net/bsd_comp.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c index dab34ba50b51..4e438b533149 100644 --- a/sys/net/bsd_comp.c +++ b/sys/net/bsd_comp.c @@ -40,11 +40,13 @@ /* * This version is for use with mbufs on BSD-derived systems. * - * $Id: bsd_comp.c,v 1.1.2.1 1995/10/31 20:07:32 peter Exp $ + * from: Id: bsd-comp.c,v 1.11 1995/07/04 03:35:11 paulus Exp + * $Id$ */ #include <sys/param.h> #include <sys/types.h> +#include <sys/systm.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <net/if.h> @@ -129,6 +131,12 @@ struct bsd_db { #define BSD_OVHD 2 /* BSD compress overhead/packet */ #define BSD_INIT_BITS BSD_MIN_BITS +static void bsd_clear __P((struct bsd_db *db)); +static int bsd_check __P((struct bsd_db *db)); +static void *bsd_alloc __P((u_char *options, int opt_len, int decomp)); +static int bsd_init __P((struct bsd_db *db, u_char *options, int opt_len, + int unit, int hdrlen, int mru, int debug, + int decomp)); static void *bsd_comp_alloc __P((u_char *options, int opt_len)); static void *bsd_decomp_alloc __P((u_char *options, int opt_len)); static void bsd_free __P((void *state)); |
