Commit Graph

221 Commits

Author SHA1 Message Date
archie
4d07ea31a9 Simplify checking/parsing of strings using strtoul(), isdigit(), etc. 1999-11-02 23:18:01 +00:00
archie
9b69b874d8 Fix some bugs in MP allocation routine when links are non-equivalent. 1999-11-01 19:44:28 +00:00
julian
44436e85d3 Add typedefs for node methods
Suggested by phk.
1999-11-01 10:00:40 +00:00
julian
0e9f32b035 braino in sample code.
picked up by phk.
1999-11-01 05:27:44 +00:00
julian
5cb6554019 Start making the contents of the generic framework opaque to the nodes.
This step: IDs are no-longer the address of the node.
Reviewd by: Archie@freebsd.org
1999-11-01 00:31:14 +00:00
archie
48fac00c95 Revamped and more useful PPP node type, supporting multi-link PPP directly.
This is one piece of the grand unified PPP daemon concept, whereby using
netgraph nodes enables PPP data to be handled completely in kernel land,
while leaving negotiation/control to be handled by a single user land
daemon, no matter what the link type(s).

This is a safety checkin only; it compiles, but is utterly untested.

Concept reviewed by:	julian, brian
1999-10-29 22:30:03 +00:00
julian
68ee601d4d When the session is running, don't include the ethernet header in the length of the payload. 1999-10-29 04:32:27 +00:00
julian
b370aacbf9 fix typo 1999-10-27 11:53:53 +00:00
julian
ff45a9511b The node goes away when last session disconnects or when disconnected from
the ethernet node.
1999-10-27 11:48:35 +00:00
julian
5b20376c8c change PPPoE occurences to pppoe. Not JUST a cosmeting change.
some occurrances needed to be the same as the filenmnae which was pppoe
 not PPPoE.
1999-10-27 11:29:51 +00:00
julian
a55e4bf224 cleanups regarding misused m_pullup() and similar. 1999-10-26 22:33:54 +00:00
julian
6ef2575af3 Send the negotiated session ID on our packets (DUH!). 1999-10-26 11:26:23 +00:00
julian
28c9969894 Send a PADT message to the peer when a session is closed down. 1999-10-26 11:04:25 +00:00
julian
7e5123180f This one actually gets session data to the waiting ppp daemon
(well, my test program  at least).
1999-10-26 09:25:18 +00:00
julian
5050a27acd This one actually negotiated it's way into a session.
still tuning to be done.
1999-10-26 08:08:48 +00:00
julian
7502cd6005 Bring ng_iface up-to-date with what has happenned to the bpf code. 1999-10-25 22:36:39 +00:00
julian
7e43d1cf55 more fixes, braino's, typo's, etc. 1999-10-23 22:46:38 +00:00
julian
ec1b7a3596 A version of the pppoe code ellicits a response from the ISP end
(but still not quite right)
1999-10-23 15:15:42 +00:00
julian
a1771a35dd dang, deleted a line 1999-10-23 04:52:54 +00:00
julian
4376a3e634 Now that Netgraph is in the system there are some cleanups we can do.
Also save a slightly closer to completion version of the PPPOE code.

Submitted by: Archie Cobbs <archie@freebsd.org>
1999-10-23 04:28:11 +00:00
julian
d894cf1c17 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00