From aad81d1ecfec3906f8b4e6945d6967a82c391cd5 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 8 Feb 1998 11:05:01 +0000 Subject: Rename ccpstate to ccp, ipcpstate to ipcp and lcpstate to lcp. --- usr.sbin/ppp/ccp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ppp/ccp.h') 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; -- cgit v1.2.3