Commit Graph

5 Commits

Author SHA1 Message Date
Archie Cobbs
beb75ced97 Script showing how to setup Ethernet bridging using ng_bridge(4). 2000-10-01 21:14:14 +00:00
Archie Cobbs
1177ed6f29 Add another netgraph example. This one shows how to set up a simple
UDP tunnel between two subnets.
2000-01-28 00:44:30 +00:00
Archie Cobbs
f8307e1233 Add two new generic control messages, NGM_ASCII2BINARY and
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
1999-11-30 02:45:32 +00:00
Julian Elischer
a5fad8dbcb Add an example of how to run raw IP across a sync port. 1999-11-19 07:04:36 +00:00
Julian Elischer
35e509f197 Add an example of how to set up a frame relay link using netgraph and
the 'sr' sync card.
1999-11-19 06:56:34 +00:00