diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-03-13 00:44:26 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-03-13 00:44:26 +0000 |
commit | 879ed6fa82fdf598991303a6e16a156e6f2f9321 (patch) | |
tree | 6bcd58cf4757a115f3e755c0ea9ad494b59a1807 /usr.sbin/ppp/vjcomp.c | |
parent | 93641525205787b506b4ea2acca94825705a6388 (diff) | |
download | src-879ed6fa82fdf598991303a6e16a156e6f2f9321.tar.gz src-879ed6fa82fdf598991303a6e16a156e6f2f9321.zip |
De-staticise LQR information
Increment OutPackets for any packet - not just LQRs
MFC:
o Fix a few comment typos.
o Fix ``set timeout'' usage message and documentation.
o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's
so that they wrap correctly.
o Put the LQR in network byte order using the correct struct size
(sizeof u_int32_t, not sizeof u_long).
o Wrap LQR ECHO counters correctly.
o Don't increment OutLQR count if the last LQR hasn't been replied
to.
o Initialise last received LQR in StartLqm.
o Don't start the LQR timer if we're `disabled' and `accepted'.
o Generate LQR responses when both sides are using a timer and
we're not going to send our next LQR before the peers max timeout.
Notes
Notes:
svn path=/cvs2svn/branches/MP/; revision=34530
Diffstat (limited to 'usr.sbin/ppp/vjcomp.c')
-rw-r--r-- | usr.sbin/ppp/vjcomp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c index d9606e30000f..fc924c14429a 100644 --- a/usr.sbin/ppp/vjcomp.c +++ b/usr.sbin/ppp/vjcomp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vjcomp.c,v 1.16.2.4 1998/02/21 01:45:26 brian Exp $ + * $Id: vjcomp.c,v 1.16.2.5 1998/02/23 00:38:43 brian Exp $ * * TODO: */ @@ -36,6 +36,7 @@ #include "fsm.h" #include "lcpproto.h" #include "slcompress.h" +#include "lqr.h" #include "hdlc.h" #include "defs.h" #include "iplist.h" |