summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ppp.h
Commit message (Collapse)AuthorAgeFilesLines
* Add 64bit statistic counters to the ng_ppp node.mav2007-08-011-0/+30
| | | | | | | 64bit counters are needed to simplify traffic accounting and reduce system load at the big PPP concentrators. Approved by: re (rwatson), glebius (mentor)
* Before this commit, if the compression is enabled the, ng_ppp(4)glebius2006-12-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | node would send every outgoing frame to the "compress" hook. Packets received on the "compress" hook were expected to be compressed and PROT_COMPD tag was put on them unconditionally. After this commit an alternative compression mode can be set. In this mode the node doesn't put the PROT_COMPD, the compressor should put it itself. This is important for such kind of compressors, that can submit uncompressed frames. Before this commit, if the decompression is enabled, the ng_ppp(4) node would send and incoming frame to the "decompress" hook only if it has the PROT_COMPD proto tag on it. After this commit an alternative decompression mode can be set. In this mode the node sends all the incoming packets to the decompression hook. This is important for such kind of compressors that need uncompressed packets too, to keep their library in sync. These new features will be used in new version of mpd4, and in new compressor nodes. Submitted by: Alexander Motin <mav alkar.net>
* Fix incorrect comment.archie2005-02-101-1/+1
| | | | Submitted by: James Bowman <jamesb@acelere.net>
* /* -> /*- for license, minor formatting changesimp2005-01-071-2/+3
|
* Use a single style of multiple inclusion protection for Netgraph headers.ru2003-11-111-3/+3
| | | | Reviewed by: archie, harti, emax
* Fix GCC warnings caused by initializing a zero length array. In the process,archie2002-05-311-12/+2
| | | | | | | simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks
* More complete fix for multi-link sequence number handling bugs.archie2000-10-061-2/+20
| | | | Add a new control message for querying the sequence number state.
* Take advantage of the new unsigned and hex integer types.archie2000-08-101-29/+29
|
* Fix broken multi-link fragment reassembly algorithm.archie2000-05-021-30/+49
| | | | | | Add hook for IPv6. Misc cleanups. PR: kern/16335
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+48
| | | | | | | | | | | | | | | | | | | | | | | 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
* Move handling of the address and control fields into the PPP node;archie1999-11-101-1/+2
| | | | | they belong there because they are device independent. Also some other misc. fixes.
* Fix several bugs found in the first bit of testing.archie1999-11-061-0/+1
|
* Revamped and more useful PPP node type, supporting multi-link PPP directly.archie1999-10-291-33/+65
| | | | | | | | | | | 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
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+91
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