Date: Thu, 7 May 1998 18:15:22 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c datalink.c hdlc.c lqr.c lqr.h main.c modem.c mp.c timer.c timer.h Message-ID: <199805080115.SAA13676@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/05/07 18:15:21 PDT
Modified files: (Branch: MP)
usr.sbin/ppp bundle.c datalink.c hdlc.c lqr.c lqr.h
main.c modem.c mp.c timer.c timer.h
Log:
o Rename datalinks as soon as the name has been received so that
LQM and HDLC timer diagnostics come out with the correct name.
o Don't send an LQR immediately upon reviving a datalink. Leave
it 'till the next timeout.
o Add the link name to some more LQR diagnostics.
o Break out of the main loop when a descriptor exception is seen
in select().
o Remove the evil nointr_[u]sleep() functions. Timers should be
(and are) used instead.
o Treat a read() of 0 bytes as an error that's fatal to the link
on which the read() is done. We should never read() 0 after
select() says there's something there - not unless the link
has been closed by the other side.
o Write the data seen before a HDLC header to the terminal in
`term' mode, *not* back to the modem :-/
o Initialise our transmitted file descriptor before starting any
timers.
o Only send data links that have *no* pending output data. This
means that our final ACK will be written rather than being
nuked with the datalink transmission.
Revision Changes Path
1.1.2.77 +8 -28 src/usr.sbin/ppp/Attic/bundle.c
1.1.2.57 +25 -4 src/usr.sbin/ppp/Attic/datalink.c
1.28.2.34 +3 -3 src/usr.sbin/ppp/hdlc.c
1.22.2.30 +37 -14 src/usr.sbin/ppp/lqr.c
1.12.2.6 +2 -1 src/usr.sbin/ppp/lqr.h
1.121.2.57 +4 -1 src/usr.sbin/ppp/main.c
1.77.2.68 +26 -21 src/usr.sbin/ppp/modem.c
1.1.2.26 +9 -5 src/usr.sbin/ppp/Attic/mp.c
1.27.2.11 +1 -57 src/usr.sbin/ppp/timer.c
1.5.4.5 +1 -3 src/usr.sbin/ppp/timer.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805080115.SAA13676>
