freebsd-src/share/examples
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
..
atapi Update so that only whole blocks are written to disk, the system 1999-09-21 20:05:54 +00:00
atm $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bootforth Fixes a silly bug that somehow escaped my notice all these months. 1999-09-29 04:46:01 +00:00
cvsup Recommend "secure-stable-supfile" instead of "secure-supfile". 1999-10-04 17:38:57 +00:00
diskless Update diskless and templated booting examples 1999-02-09 17:44:00 +00:00
drivers $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
etc Add a hook for disabling cvs and collect a few similar options together. 1999-09-15 03:52:17 +00:00
find_interface $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
FreeBSD_version $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ibcs2 A little COFF program (uuencoded) + README. Just do we can show 1994-10-23 19:23:50 +00:00
isdn Added $FreeBSD$ idents. 1999-11-16 17:27:07 +00:00
kld $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libvgl - This is the new version of libvgl jointly developed by sos and I. 1999-11-08 11:37:46 +00:00
mdoc Add $FreeBSD$ lines to these example man pages, along with a note 1999-08-28 23:32:12 +00:00
meteor Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
netgraph Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
nwclient Add examples for a mount_nwfs command. 1999-11-03 12:06:13 +00:00
perfmon $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
portal Add portal example 1998-12-15 19:05:35 +00:00
ppi $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ppp An example of how to configure PPPoE. 1999-11-21 23:40:38 +00:00
pppd $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
printing $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
scsi_target $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
slattach -u unit-command example 1996-02-17 19:36:08 +00:00
sliplogin syntax error in /usr/share/examples/sliplogin/slip.hosts 1998-03-02 02:52:38 +00:00
startslip Update to reflect new options 1995-09-15 20:15:10 +00:00
sunrpc Remove the -lrpclib, since it causes the build of these examples 1997-02-26 06:56:57 +00:00
worm fix a typo 1998-08-29 09:50:16 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00