summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-27 23:48:54 +0000
committerbrian <brian@FreeBSD.org>1998-06-27 23:48:54 +0000
commitecefb9d1a210a6c86638b396ea5ece55c433bc66 (patch)
tree0a77c0e67b7da6215327359880d61c222fd24aa7 /usr.sbin/ppp/lcp.h
parent40b850dd415ad2adcddb88549067b23762bce91a (diff)
downloadFreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.zip
FreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.tar.gz
o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in multilink mode. o Do a TLS when we receive a ``Open'' event in ``Closed'' state, despite the rfc state transition table. This is clearly an error in the RFC as TLS cannot have yet been called (without TLF) in the ``Closed'' state. I've posted a message to comp.protocols.ppp for confirmation.
Diffstat (limited to 'usr.sbin/ppp/lcp.h')
-rw-r--r--usr.sbin/ppp/lcp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h
index 69ef41c..03e87a4 100644
--- a/usr.sbin/ppp/lcp.h
+++ b/usr.sbin/ppp/lcp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.h,v 1.16.2.23 1998/05/01 19:24:57 brian Exp $
+ * $Id: lcp.h,v 1.17 1998/05/21 21:46:03 brian Exp $
*
* TODO:
*/
@@ -28,7 +28,7 @@ struct lcp {
u_int16_t his_mrru; /* Peers maximum reassembled packet size (MP) */
u_int32_t his_accmap; /* Peeers async char control map */
u_int32_t his_magic; /* Peers magic number */
- u_int32_t his_lqrperiod; /* Peers LQR frequency */
+ u_int32_t his_lqrperiod; /* Peers LQR frequency (100ths of seconds) */
u_short his_auth; /* Peer wants this type of authentication */
unsigned his_shortseq : 1; /* Peer would like only 12bit seqs (MP) */
unsigned his_protocomp : 1; /* Does peer do Protocol field compression */
@@ -38,7 +38,7 @@ struct lcp {
u_short want_mrru; /* Our maximum reassembled packet size (MP) */
u_int32_t want_accmap; /* Our async char control map */
u_int32_t want_magic; /* Our magic number */
- u_int32_t want_lqrperiod; /* Our LQR frequency */
+ u_int32_t want_lqrperiod; /* Our LQR frequency (100ths of seconds) */
u_short want_auth; /* We want this type of authentication */
unsigned want_shortseq : 1; /* I'd like only 12bit seqs (MP) */
unsigned want_protocomp : 1; /* Do we do protocol field compression */
@@ -56,7 +56,7 @@ struct lcp {
u_short mru; /* Preferred MRU value */
u_int32_t accmap; /* Initial ACCMAP value */
int openmode; /* when to start CFG REQs */
- u_int lqrperiod; /* LQR frequency */
+ u_int32_t lqrperiod; /* LQR frequency (seconds) */
u_int fsmretry; /* FSM retry frequency */
unsigned acfcomp : 2; /* Address & Control Field Compression neg */
OpenPOWER on IntegriCloud