freebsd-skq/usr.sbin/ppp
Brian Somers 879ed6fa82 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.
1998-03-13 00:44:26 +00:00
..
alias_cmd.c Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
alias_cmd.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
arp.c Create struct fsm_parent. FSMs are created with one of these, 1998-02-27 01:22:39 +00:00
arp.h Shuffle around our FSMs a bit. This'll make it 1998-02-21 01:45:26 +00:00
async.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
async.h Make ``show escape'' require context. 1998-02-18 19:35:20 +00:00
auth.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
auth.h Do authentication at the datalink level, not the bundle level. 1998-03-01 01:07:49 +00:00
bundle.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
bundle.h De-staticise LQR information 1998-03-13 00:44:26 +00:00
ccp.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
ccp.h Create struct fsm_parent. FSMs are created with one of these, 1998-02-27 01:22:39 +00:00
chap_ms.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
chap_ms.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
chap.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
chap.h Do authentication at the datalink level, not the bundle level. 1998-03-01 01:07:49 +00:00
chat.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
chat.h o Allow "*" in the password field in ppp.secret (forcing a 1998-03-09 19:25:35 +00:00
command.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
command.h Introduce the ``link'' command for controlling 1998-02-17 19:28:01 +00:00
datalink.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
datalink.h Move phone numbers into struct datalink. 1998-03-09 19:24:58 +00:00
deflate.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
deflate.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
defs.c Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
defs.h Move the idle timer into struct bundle. There's no 1998-03-09 19:26:41 +00:00
descriptor.h o Remove the global CcpInfo. It's now part of the datalink. 1998-02-23 00:38:44 +00:00
filter.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
filter.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
fsm.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
fsm.h Create struct fsm_parent. FSMs are created with one of these, 1998-02-27 01:22:39 +00:00
hdlc.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
hdlc.h De-staticise LQR information 1998-03-13 00:44:26 +00:00
id.c Allow 8 character login names. 1998-02-19 02:08:53 +00:00
id.h Allow 8 character login names. 1998-02-19 02:08:53 +00:00
ip.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
ip.h Move the idle timer into struct bundle. There's no 1998-03-09 19:26:41 +00:00
ipcp.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
ipcp.h Create struct fsm_parent. FSMs are created with one of these, 1998-02-27 01:22:39 +00:00
iplist.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
iplist.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
lcp.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
lcp.h Create struct fsm_parent. FSMs are created with one of these, 1998-02-27 01:22:39 +00:00
lcpproto.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
link.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
link.h o Remove the global CcpInfo. It's now part of the datalink. 1998-02-23 00:38:44 +00:00
loadalias.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
loadalias.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
log.c Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
log.h Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
lqr.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
lqr.h De-staticise LQR information 1998-03-13 00:44:26 +00:00
main.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
main.h Add datalink state DATALINK_READY to indicate when the datalink 1998-02-17 19:28:35 +00:00
Makefile Create struct datalink. 1998-02-16 00:01:12 +00:00
mbuf.c Create struct datalink. 1998-02-16 00:01:12 +00:00
mbuf.h Create `struct link' - the logical link from which 1998-01-30 19:46:07 +00:00
modem.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
modem.h o Move all device names into struct physical. 1998-03-06 00:34:47 +00:00
pap.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
pap.h Do authentication at the datalink level, not the bundle level. 1998-03-01 01:07:49 +00:00
pathnames.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
physical.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
physical.h Move `Utmp' into struct physical. We can be logged in 1998-03-10 03:06:07 +00:00
ppp.8 De-staticise LQR information 1998-03-13 00:44:26 +00:00
pred.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
pred.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
prompt.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
prompt.h Keep a handle on our current ``term'' in struct prompt 1998-02-17 19:28:13 +00:00
README.alias This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
README.devel This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
route.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
route.h o Hook the FSMs into our bundle. 1998-02-07 20:50:08 +00:00
server.c o Remove the global CcpInfo. It's now part of the datalink. 1998-02-23 00:38:44 +00:00
server.h Make the server descriptor into a `sort' of struct descriptor. 1998-02-09 19:24:03 +00:00
sig.c MFC: Explicitly call caused' an int'. 1998-03-08 23:44:48 +00:00
sig.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
slcompress.c Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
slcompress.h Shuffle around our FSMs a bit. This'll make it 1998-02-21 01:45:26 +00:00
systems.c Make the server descriptor into a `sort' of struct descriptor. 1998-02-09 19:24:03 +00:00
systems.h Create `struct bundle' - the top level control structure. 1998-02-02 19:32:16 +00:00
throughput.c Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
throughput.h Move the terminal/diagnostic socket stuff out of main.c 1998-02-10 03:23:50 +00:00
timer.c This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
timer.h This commit was manufactured by cvs2svn to create branch 'MP'. 1998-01-29 00:44:16 +00:00
tun.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
tun.h Create `struct bundle' - the top level control structure. 1998-02-02 19:32:16 +00:00
vars.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
vars.h Move `Utmp' into struct physical. We can be logged in 1998-03-10 03:06:07 +00:00
vjcomp.c De-staticise LQR information 1998-03-13 00:44:26 +00:00
vjcomp.h o Remove the global CcpInfo. It's now part of the datalink. 1998-02-23 00:38:44 +00:00

This program was originally written by Toshiharu OHNO <tony-o@iij.ad.jp>,
and was submitted to FreeBSD-2.0.5 by Atsushi Murai <amurai@spec.co.jp>.
The original version was usually referred to as iij-ppp.

Ppp is currently maintained under FreeBSD and OpenBSD by Brian Somers
<brian@Awfulhak.org>.  The sources for both operating systems are the
same although the Makefiles vary due to the nature of each system.
If and when it's ported to another OS, things will probably be shuffled
around so that there are several Makefiles, one per architecture.

The latest sources are available in FreeBSD-current and OpenBSD-current.
An archive hacked so that it will build on just about any version of
FreeBSD is frequently generated and made available on
http://www.FreeBSD.org/~brian.  Once the first OpenBSD release is made
with ppp, an up-to-date OpenBSD archive will be made available too.

A FAQ is available at http://www.FreeBSD.org/FAQ/userppp.html.  It applies
equally to OpenBSD as it does to FreeBSD.  The man page is quite extensive,
and there are lots of examples in /etc/ppp/ppp.*.sample.  These examples
come with the hacked archive above but must be installed manually.

Ppp is still under development.  There is no official TODO list.