summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sppp.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-03-30 13:28:26 +0000
committerphk <phk@FreeBSD.org>1999-03-30 13:28:26 +0000
commitc5a96ac8dba51606420c08ddae4d953b4a6009f6 (patch)
treed7d67c1db33b44b3f9df9df436e7785b1c0dc1a2 /sys/net/if_sppp.h
parent4b075acb2951e25a5a0c5fedd65c6ad62e92ede9 (diff)
downloadFreeBSD-src-c5a96ac8dba51606420c08ddae4d953b4a6009f6.zip
FreeBSD-src-c5a96ac8dba51606420c08ddae4d953b4a6009f6.tar.gz
rganize the various modes (CISCO/AUTO/DEMAND/LEASED) a little bit better,
centralize the code. Remember to call TLF/TLS on the hardware in CISCO mode.
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r--sys/net/if_sppp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h
index 67a63ae..6c88766 100644
--- a/sys/net/if_sppp.h
+++ b/sys/net/if_sppp.h
@@ -16,7 +16,7 @@
*
* From: Version 2.0, Fri Oct 6 20:39:21 MSK 1995
*
- * $Id: if_sppp.h,v 1.12 1998/12/20 19:06:22 phk Exp $
+ * $Id: if_sppp.h,v 1.13 1998/12/27 21:30:44 phk Exp $
*/
#ifndef _NET_IF_SPPP_H_
@@ -83,7 +83,8 @@ struct sppp {
struct ifqueue pp_fastq; /* fast output queue */
struct ifqueue pp_cpq; /* PPP control protocol queue */
struct sppp *pp_next; /* next interface in keepalive list */
- u_int pp_flags; /* use Cisco protocol instead of PPP */
+ u_int pp_mode; /* major protocol modes (cisco/ppp/...) */
+ u_int pp_flags; /* sub modes */
u_short pp_alivecnt; /* keepalive packets counter */
u_short pp_loopcnt; /* loopback detection counter */
u_long pp_seq; /* local sequence number */
@@ -132,7 +133,6 @@ struct sppp {
};
#define PP_KEEPALIVE 0x01 /* use keepalive protocol */
-#define PP_CISCO 0x02 /* use Cisco protocol instead of PPP */
/* 0x04 was PP_TIMO */
#define PP_CALLIN 0x08 /* we are being called */
#define PP_NEEDAUTH 0x10 /* remote requested authentication */
OpenPOWER on IntegriCloud