summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ccp.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-30 23:04:17 +0000
committerbrian <brian@FreeBSD.org>1998-06-30 23:04:17 +0000
commit079249c72b5c0fb2904b7a7047d32db6093792ee (patch)
tree42c0587c812526ccf54e9882ce1fc39a80e2f980 /usr.sbin/ppp/ccp.h
parent805c8719671543e774a7eb330ccd6b2d829a535a (diff)
downloadFreeBSD-src-079249c72b5c0fb2904b7a7047d32db6093792ee.zip
FreeBSD-src-079249c72b5c0fb2904b7a7047d32db6093792ee.tar.gz
The CCP layer now behaves as follows:
o If we've denied and disabled all compression protocols, stay in ST_INITIAL and do an LCP protocol reject if we receive any CCP packets. o If we've disabled all compression protocols, go to ST_STOPPED and wait for the other side to ask for something. o If we've got anything enabled, start REQing as soon as the auth layer is up. o If we're in multilink mode, than the link level CCP goes straight to ST_STOPPED irrespective of what's configured so that we never try to compress compressed stuff by default.
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r--usr.sbin/ppp/ccp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h
index ca4ac82..b79fc27 100644
--- a/usr.sbin/ppp/ccp.h
+++ b/usr.sbin/ppp/ccp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ccp.h,v 1.17 1998/06/15 19:06:37 brian Exp $
+ * $Id: ccp.h,v 1.18 1998/06/27 23:48:41 brian Exp $
*
* TODO:
*/
@@ -125,4 +125,4 @@ extern int ccp_Compress(struct ccp *, struct link *, int, u_short, struct mbuf *
extern struct mbuf *ccp_Decompress(struct ccp *, u_short *, struct mbuf *);
extern u_short ccp_Proto(struct ccp *);
extern void ccp_SetupCallbacks(struct ccp *);
-extern void ccp_SetOpenMode(struct ccp *);
+extern int ccp_SetOpenMode(struct ccp *);
OpenPOWER on IntegriCloud