summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_tee.c
Commit message (Collapse)AuthorAgeFilesLines
* Allocate all memory (including within node constructors) with M_NOWAITarchie2000-09-211-1/+1
| | | | instead of M_WAITOK, to allow for maximum flexibility.
* Add new control message to atomically get and clear statistics.archie2000-08-101-24/+37
|
* Two simple changes to the kernel internal API for netgraph modules,julian2000-04-281-2/+3
| | | | | | | to support future work in flow-control and 'packet reject/replace' processing modes. reviewed by: phk, archie
* Add control message ASCII conversion for this node type.archie2000-01-271-4/+40
|
* Use m_dup() instead of m_copypacket() to duplicate the mbuf chain.archie1999-12-011-1/+1
| | | | | This fixes a bug where if the original packet was modified downstream of the tee node, then the copy could get modified too.
* 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
* Fix crash when trying to duplicate a NULL meta.archie1999-11-081-9/+12
|
* Add statistics counters to "tee" netgraph node type.archie1999-11-021-53/+119
|
* Add typedefs for node methodsjulian1999-11-011-8/+7
| | | | Suggested by phk.
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+268
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