summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/slcompress.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-10-07 00:56:58 +0000
committerbrian <brian@FreeBSD.org>1997-10-07 00:56:58 +0000
commit5d5b8675792d627c639016dd4939b030741ba9ec (patch)
tree83aee588b7d629fee9b19191f5af2432713b462d /usr.sbin/ppp/slcompress.h
parent4199113e596c58c5ab93ae60473ac33008898d92 (diff)
downloadFreeBSD-src-5d5b8675792d627c639016dd4939b030741ba9ec.zip
FreeBSD-src-5d5b8675792d627c639016dd4939b030741ba9ec.tar.gz
Support VJ maximum slot identifiers != 15.
Support VJ slot id compression. Previously, ppp would negotiate a max slot between 2 & 15 (if asked), and would agree to slot id compression (if asked). It would then proceed to use 16 slots and no compression anyway. The result was a rather unusable connection.
Diffstat (limited to 'usr.sbin/ppp/slcompress.h')
-rw-r--r--usr.sbin/ppp/slcompress.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/slcompress.h b/usr.sbin/ppp/slcompress.h
index 1506d08..812c1a3 100644
--- a/usr.sbin/ppp/slcompress.h
+++ b/usr.sbin/ppp/slcompress.h
@@ -1,7 +1,7 @@
/*
* Definitions for tcp compression routines.
*
- * $Header: /home/ncvs/src/usr.sbin/ppp/slcompress.h,v 1.6 1997/06/09 03:27:38 brian Exp $
+ * $Header: /home/ncvs/src/usr.sbin/ppp/slcompress.h,v 1.7 1997/08/25 00:29:29 brian Exp $
*
* Copyright (c) 1989 Regents of the University of California.
* All rights reserved.
@@ -18,7 +18,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: slcompress.h,v 1.6 1997/06/09 03:27:38 brian Exp $
+ * $Id: slcompress.h,v 1.7 1997/08/25 00:29:29 brian Exp $
*
* Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989:
* - Initial distribution.
@@ -138,7 +138,7 @@ struct slstat {
/* flag values */
#define SLF_TOSS 1 /* tossing rcvd frames because of input err */
-extern void sl_compress_init(struct slcompress *);
+extern void sl_compress_init(struct slcompress *, int max_state);
extern u_char sl_compress_tcp
__P((struct mbuf *, struct ip *,
struct slcompress *, int compress_cid_flag));
OpenPOWER on IntegriCloud