summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pppoe.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bunch of un-needed includes.julian1999-12-071-1/+0
| | | | Submitted by: phk@freebsd.org
* change intial timeout for session negotiation from 1 to 2 seconds.julian1999-12-011-2/+3
| | | | One second was being hit too many times in normal situations.
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
* Fixes from brian. With some changes from me.julian1999-11-211-20/+35
| | | | | Allows FreeBSD to run as a PPPOE server One patch still not included.
* Move misplaced #define.archie1999-11-191-1/+3
|
* Small fixes from Brian for the Server side of PPPoE.julian1999-11-151-9/+9
|
* Rework some tag handling, prompted by Brian Somers.julian1999-11-141-35/+25
|
* Try handle missing packet tags better.julian1999-11-141-12/+19
| | | | Inspired by changes suggested by brian Somers.
* Remove a null pointer referencejulian1999-11-091-0/+2
| | | | Submitted by: Brian Somers (brian@freebsd.org)
* Add typedefs for node methodsjulian1999-11-011-9/+8
| | | | Suggested by phk.
* When the session is running, don't include the ethernet header in the length ↵julian1999-10-291-1/+2
| | | | of the payload.
* fix typojulian1999-10-271-2/+2
|
* The node goes away when last session disconnects or when disconnected fromjulian1999-10-271-0/+9
| | | | the ethernet node.
* change PPPoE occurences to pppoe. Not JUST a cosmeting change.julian1999-10-271-31/+31
| | | | | some occurrances needed to be the same as the filenmnae which was pppoe not PPPoE.
* cleanups regarding misused m_pullup() and similar.julian1999-10-261-1/+2
|
* Send the negotiated session ID on our packets (DUH!).julian1999-10-261-1/+2
|
* Send a PADT message to the peer when a session is closed down.julian1999-10-261-1/+35
|
* This one actually gets session data to the waiting ppp daemonjulian1999-10-261-38/+5
| | | | (well, my test program at least).
* This one actually negotiated it's way into a session.julian1999-10-261-12/+58
| | | | still tuning to be done.
* more fixes, braino's, typo's, etc.julian1999-10-231-8/+19
|
* A version of the pppoe code ellicits a response from the ISP endjulian1999-10-231-19/+65
| | | | (but still not quite right)
* Now that Netgraph is in the system there are some cleanups we can do.julian1999-10-231-2/+25
| | | | | | Also save a slightly closer to completion version of the PPPOE code. Submitted by: Archie Cobbs <archie@freebsd.org>
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+1343
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
OpenPOWER on IntegriCloud