summaryrefslogtreecommitdiffstats
path: root/share/examples/netgraph
Commit message (Collapse)AuthorAgeFilesLines
* Correct a brain-o in the stats output.dd2001-06-301-1/+1
| | | | | PR: 24839 Submitted by: AMAKAWA Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
* Script showing how to setup Ethernet bridging using ng_bridge(4).archie2000-10-011-0/+167
|
* Add another netgraph example. This one shows how to set up a simplearchie2000-01-281-0/+53
| | | | UDP tunnel between two subnets.
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+173
| | | | | | | | | | | | | | | | | | | | | | | 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
* Add an example of how to run raw IP across a sync port.julian1999-11-191-0/+16
|
* Add an example of how to set up a frame relay link using netgraph andjulian1999-11-191-0/+46
the 'sr' sync card.
OpenPOWER on IntegriCloud