freebsd-skq/usr.sbin/ngctl
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
..
connect.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
debug.c Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
list.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
main.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
Makefile Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
mkpeer.c Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
msg.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
name.c Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
ngctl.8 Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
ngctl.h Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
rmhook.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
show.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
shutdown.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
status.c Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
types.c Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00