summaryrefslogtreecommitdiffstats
path: root/sys/net/bsd_comp.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-31 20:51:24 +0000
committerpeter <peter@FreeBSD.org>1995-10-31 20:51:24 +0000
commite5976f5ea6c529608d0cf700795ee9c038bbe2a9 (patch)
treebf6005a27b3376b2b046f22c0398aba6bae5dd11 /sys/net/bsd_comp.c
parentd24ef040a05760c234fb9b77f0979e149de12e9e (diff)
downloadFreeBSD-src-e5976f5ea6c529608d0cf700795ee9c038bbe2a9.zip
FreeBSD-src-e5976f5ea6c529608d0cf700795ee9c038bbe2a9.tar.gz
Remove the old pppcompress files (btw: these look net-2 derived)
commit merge for bsd_comp.c - I missed this with a *ppp* wildcard.
Diffstat (limited to 'sys/net/bsd_comp.c')
-rw-r--r--sys/net/bsd_comp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c
index dab34ba..4e438b5 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));
OpenPOWER on IntegriCloud