aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ccp.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-02-08 11:05:01 +0000
committerBrian Somers <brian@FreeBSD.org>1998-02-08 11:05:01 +0000
commitaad81d1ecfec3906f8b4e6945d6967a82c391cd5 (patch)
tree13d6def3be320640615cf58f7fb65a20743e3ba0 /usr.sbin/ppp/ccp.h
parent9876c443a8cb11e8e6138d468fd6f2768ba6aaad (diff)
downloadsrc-aad81d1ecfec3906f8b4e6945d6967a82c391cd5.tar.gz
src-aad81d1ecfec3906f8b4e6945d6967a82c391cd5.zip
Rename ccpstate to ccp, ipcpstate to ipcp and lcpstate to lcp.
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=33170
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r--usr.sbin/ppp/ccp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h
index 71ed6f2d7d4f..b2379ddf4f12 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.14.2.6 1998/02/06 02:24:06 brian Exp $
+ * $Id: ccp.h,v 1.14.2.7 1998/02/07 20:49:27 brian Exp $
*
* TODO:
*/
@@ -35,7 +35,7 @@
#define TY_PPPD_DEFLATE 24 /* Deflate (gzip) - (mis) numbered by pppd */
#define TY_DEFLATE 26 /* Deflate (gzip) - rfc 1979 */
-struct ccpstate {
+struct ccp {
struct fsm fsm; /* The finite state machine */
int his_proto; /* peer's compression protocol */
@@ -57,9 +57,9 @@ struct ccpstate {
u_long uncompin, compin;
};
-extern struct ccpstate CcpInfo;
+extern struct ccp CcpInfo;
-#define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccpstate *)fp : NULL)
+#define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL)
struct ccp_algorithm {
int id;