Revision tags: release/2.2.6 |
|
#
62043f48 |
| 20-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
Don't show ECHO LQRs in the LQM log - they're already show in the LCP log.
|
#
2267893f |
| 20-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
o Check the LCP Identifier field for correctness and drop dodgy packets by default. The old behaviour is still available with ``disable idcheck''. o Make all FSM diagnostics consistent and tidy u
o Check the LCP Identifier field for correctness and drop dodgy packets by default. The old behaviour is still available with ``disable idcheck''. o Make all FSM diagnostics consistent and tidy up the way we build our LCP/CCP/IPCP requests. o Don't assume sizeof(u_long) == 4.
show more ...
|
#
eaa4df37 |
| 16-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
Move VJ compression state and stats into struct ipcp.
|
#
5ca5389a |
| 16-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
Move filter sets into struct bundle.
|
#
5828db6d |
| 13-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
Move the IPCP into struct bundle.
|
#
a611cad6 |
| 13-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
o Don't immediately reply to the first LQR thinking it's a duplicate ('cos it compares with our initial values). o Move the LCP into struct datalink.
|
#
6b586273 |
| 13-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
MFMP: Don't send LQRs when the peer has LCP REJ'd them. Send ECHO LQRs instead.
|
#
2c995c53 |
| 13-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
Don't send LQRs when the peer has LCP REJ'd them. Send ECHO LQRs instead.
|
#
879ed6fa |
| 13-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
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, i
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.
show more ...
|
#
f830032f |
| 12-Mar-1998 |
Brian Somers <brian@FreeBSD.org> |
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 netw
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 HisLqrData (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.
LQR should now be fully functional.
show more ...
|
#
3006ec67 |
| 16-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Create struct datalink.
This is a type of physical link that can chat and talk LCP & CCP. A bundle contains a list of these (only one in the list for the moment).
The datalink is a type of descrip
Create struct datalink.
This is a type of physical link that can chat and talk LCP & CCP. A bundle contains a list of these (only one in the list for the moment).
The datalink is a type of descriptor, and dials, enters LCP (& does CCP), kicks the bundle when its FSMs do something interesting and does the hangup chat script on the way down. It also handles redials and reconnects.
There are lots of loose ends, and probably lots of bugs, but the data structures are getting there !
show more ...
|
#
42d4d396 |
| 09-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
o Introduce struct descriptor. This will ultimately be a member of a list of descriptors and their handler functions on which we need to select() in the main loop. o Make struct physical into a
o Introduce struct descriptor. This will ultimately be a member of a list of descriptors and their handler functions on which we need to select() in the main loop. o Make struct physical into a `sort' of struct descriptor.
show more ...
|
#
455aabc3 |
| 07-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
o Hook the FSMs into our bundle. o The FSM layering is now more sane. o Move a lot of the NCP stuff into our ipcpstate rather than having it in the bundle, including control of the configured IP ad
o Hook the FSMs into our bundle. o The FSM layering is now more sane. o Move a lot of the NCP stuff into our ipcpstate rather than having it in the bundle, including control of the configured IP addresses. We don't need hacks like the global `linkup' variable any more as the FSM decides when our ppp.link* files get run. This is going to eventually be configurable based on FSM events anyway. o Fix a few inconsistencies when both sides require authentication. o We now have "Ppp..." and "PPp" prompts, reflecting authentication and network phase. We don't print loads of spurious prompts as we change phases any more. o Our phase is part of the bundle now. o Fix a bug where the FSM wasn't calling LayerFinish. o Close the FSM down correctly with a signal rather than slamming it down as if the line was dropped (the undocumented ``down'' command is still available though). o Remove the forgotten `tunno' variable and fix references to it.
show more ...
|
#
6140ba11 |
| 02-Feb-1998 |
Brian Somers <brian@FreeBSD.org> |
Create `struct async' and make it part of `struct physical'. This structure contains the asynchronous state of the physical link. Unfortunately, just about every .h file is included in every .c file
Create `struct async' and make it part of `struct physical'. This structure contains the asynchronous state of the physical link. Unfortunately, just about every .h file is included in every .c file now. Fixing this can be one of the last jobs.
show more ...
|
#
7308ec68 |
| 31-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Move the global FSMs into their relevent structures. IPCP, CCP and LCP are now just derived FSMs. Comment each of the FSM implementations so that we can tell what's going on. Revise the state transit
Move the global FSMs into their relevent structures. IPCP, CCP and LCP are now just derived FSMs. Comment each of the FSM implementations so that we can tell what's going on. Revise the state transitions so that CCP and IPCP actually send terminate REQs when appropriate.
The OS & IPCP layers are still like spagetti (next job).
show more ...
|
#
8c07a7b2 |
| 30-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Create `struct link' - the logical link from which `struct physical' (and the future `struct logical') are derived.
|
#
c8ee0d78 |
| 30-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
o Bring global/static data into LcpInfo. o Parameterise LcpReportTime(). o Don't obscure the hard-coded use of LcpInfo. o Comment on the data elements of LcpInfo.
|
#
63b73463 |
| 29-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Create a new MP branch for `multilink protocol'.
Do lots of initial shuffling and grouping. Submitted by: Eivind Eklund <perhaps@yes.no>
|
#
1ae349f5 |
| 29-Jan-1998 |
cvs2svn <cvs2svn@FreeBSD.org> |
This commit was manufactured by cvs2svn to create branch 'MP'.
|
#
aa8e0519 |
| 21-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Remove unused #includes. Make various bits static. Remove unused variables. Submitted by: eivind
|
#
3a70c9f7 |
| 11-Jan-1998 |
Brian Somers <brian@FreeBSD.org> |
Make things work when sizeof(long) != 32 (hopefully)
|
#
b6e82f33 |
| 22-Nov-1997 |
Brian Somers <brian@FreeBSD.org> |
Fix prototypes. Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile w
Fix prototypes. Remove extraneous decls. Add ``const'' to several places. Allow ``make NOALIAS=1'' to remove IP aliasing. Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile with -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts (although the Makefile just contains -Wall).
show more ...
|
#
75240ed1 |
| 26-Oct-1997 |
Brian Somers <brian@FreeBSD.org> |
Cosmetic (no functional changes): o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bze
Cosmetic (no functional changes): o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bzero -> memset bcmp -> memcmp index -> strchr rindex -> strrchr o Move timeout.h -> timer.h (making it consistent w/ timer.c) o Add -Wmissing-prototypes
show more ...
|
Revision tags: release/2.2.5_cvs |
|
#
afc7fa2c |
| 01-Sep-1997 |
Brian Somers <brian@FreeBSD.org> |
Cosmetic: Make LogPrintf() calls consistent.
|
#
944f7098 |
| 25-Aug-1997 |
Brian Somers <brian@FreeBSD.org> |
Make the code format more in line with style(9). Update loadalias to use the new libalias api. Update to version 1.1.
|