freebsd-skq/usr.sbin
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
..
ac err -> errx for malloc failure 1999-10-12 19:27:11 +00:00
accton Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
adduser $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
amd Update for 6.0.3s1 changes. 1999-11-05 12:34:00 +00:00
apm $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
apmconf $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
apmd Spelling fix. 1999-10-30 19:42:31 +00:00
arp Yet another align. 1999-09-20 09:10:46 +00:00
atm $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
boot0cfg $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
bootparamd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
btxld $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
cdcontrol Stop run() from dereferencing a NULL pointer when you enter a valid command 1999-11-18 23:04:38 +00:00
chkgrp add missing .El. 1999-10-17 15:46:58 +00:00
chown Add "-v". 1999-11-27 19:25:08 +00:00
chroot $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ckdist $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
config Allow config to generate proper ioconf.c files when devices request DMA 1999-11-22 14:31:55 +00:00
cron $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
crunch $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ctm Correct the email address that folk are to bug if they need 1999-11-29 17:58:58 +00:00
dev_mkdb $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
diskpart $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
dpt Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
edquota $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
elf2exe $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
fdcontrol Xref to warn(3) which is used instead of perror. 1999-10-17 15:52:26 +00:00
fdformat Correct use of .Nm. 1999-10-17 15:54:50 +00:00
fdwrite Use Pa for filenames. 1999-10-17 15:57:16 +00:00
i4b add MAINTAINER to userland part of i4b 1999-08-28 13:32:15 +00:00
inetd Put the listening socket into non-blocking mode before doing an 1999-11-17 03:32:05 +00:00
iostat $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ipfstat Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
ipftest Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
ipmon Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
ipnat Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
ipresend Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
ipsend Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
iptest Revive userland stuff for ipfilter. 1999-11-23 21:53:19 +00:00
IPXrouted $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
jail Add a version number field to the jail(2) argument so that future changes 1999-09-19 08:36:37 +00:00
kbdcontrol Do not suggest user to change /etc/defaults/rc.conf. 1999-11-18 16:09:40 +00:00
kbdmap $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
kernbb Correct spelling : ascii -> ASCII 1999-09-20 09:15:23 +00:00
keyadmin $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
keyserv $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
kgmon Put file names under .Pa. 1999-11-27 16:52:41 +00:00
kgzip $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
kvm_mkdb $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lpr moved to koi2alt 1999-09-23 02:54:44 +00:00
lptcontrol Remove incorrect section name. Use .Pa or .Ar instead of .Em. 1999-11-27 16:54:36 +00:00
mailstats Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
makemap Add snprintf.c to SRCS so that the function quad_to_string exists. The 1998-08-06 23:01:49 +00:00
manctl Remove incorrect section name. Terminate .Bl with .El. 1999-11-27 17:15:51 +00:00
memcontrol Remove an unnecessary cross-reference to ioctl(2) 1999-10-09 16:37:37 +00:00
mergemaster `mergemaster'' was repo-copied to `mergemaster.sh'' as it's a shell script. 1999-11-01 04:29:05 +00:00
mixer Terminate .Bl with .El 1999-11-27 16:55:50 +00:00
mount_nwfs Add reference to the share/examples/nwclient directory. 1999-11-14 13:48:31 +00:00
mount_portalfs mount* fixes from Martin Blapp <mb@imp.ch>: 1999-10-09 11:54:14 +00:00
mountd (1) Remove ISO support, it's dead in the kernel anyway. 1999-11-12 21:52:10 +00:00
moused Bail out on failing the read(). This happens when a USB mouse is 1999-11-29 17:21:07 +00:00
mptable $FreeBSD$ tags moved to bottom of license aggmt. 1999-10-30 16:05:26 +00:00
mrouted Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
mtest $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mtree -Wall fixes. 1999-09-27 00:36:03 +00:00
named $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
named.reload $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
named.restart $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ndc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
newsyslog .Nm corrections 1999-11-27 16:57:27 +00:00
nfsd Give nfsd the ability to bind to specific IP addresses through the -h 1999-11-11 17:35:36 +00:00
ngctl Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
nghook Remove extra spaces in hex dump output. 1999-11-30 02:09:36 +00:00
nologin $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
nslookup $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
nsupdate New bind8 program 1998-05-03 05:10:23 +00:00
pccard $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
pciconf .Fn -> .Xr 1999-11-27 16:59:06 +00:00
pcvt Restore -traditional compilation 1999-10-03 10:35:03 +00:00
periodic $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
pkg_install Install man pages in the right place. This is what I get for cheating 1999-11-28 18:34:27 +00:00
pnpinfo $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
portmap $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ppp depricated -> deprecated + mention the -alias flag status in README.changes 1999-11-29 18:53:43 +00:00
pppctl NetBSD has changed the el_init() prototype 1999-09-20 07:22:22 +00:00
pppd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
pppstats $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
praliases Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
procctl $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
pstat Merge fprintf and exit into errx. 1999-11-27 17:03:07 +00:00
pw Don't try updating the passwd file if no data has changed. This allows things 1999-10-26 15:07:20 +00:00
pwd_mkdb Allow empty UIDs if we are processing NIS records. I am not entirely 1999-11-22 12:42:38 +00:00
quot Do not repeat the name of the flag. Change alloc to allocate for better 1999-11-27 17:05:08 +00:00
quotaon $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
rarpd Remove incorrect section name. Incomplete -Wall cleaning. 1999-11-27 17:06:40 +00:00
repquota Description 1999-11-01 04:46:09 +00:00
rmt Add section name to .Xr references. 1999-11-27 17:07:59 +00:00
rndcontrol Remove incorrect section name 1999-11-27 17:09:14 +00:00
rpc.lockd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
rpc.statd Undo previous change. 1999-10-05 14:40:38 +00:00
rpc.umntall Add rpc.umntall utility, to be used by startup and shutdown scripts 1999-11-21 08:06:00 +00:00
rpc.yppasswdd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
rpc.ypupdated $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
rpc.ypxfrd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
rtprio Use DIAGNOSTICS instead of incorrect section name 1999-11-27 17:10:35 +00:00
rwhod Name of program and trailing \n will be added by syslog(3) 1999-11-27 17:11:55 +00:00
sa $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
sade Add support for the AMI MegaRAID and Mylex drivers to sysinstall. 1999-11-27 21:33:04 +00:00
sendmail $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
sgsc Remove incorrect section name. 1999-11-27 17:13:08 +00:00
sicontrol Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
sliplogin $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
slstat $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
spkrtest $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
spray $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
stallion Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
sysinstall Add support for the AMI MegaRAID and Mylex drivers to sysinstall. 1999-11-27 21:33:04 +00:00
syslogd $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
tcpdchk $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
tcpdmatch $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
tcpdump $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
timed $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
traceroute $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
trpt Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
tzsetup Re-add the libmytinfo/libncurses stuff - removing it breaks static 1999-09-01 23:36:21 +00:00
usbd Add the ability to match on device names attached to. 1999-11-28 21:27:31 +00:00
usbdevs Use releaseNo, not release. release is evil and should go away. 1999-11-23 01:16:10 +00:00
vidcontrol Fix broken cross reference : kldload(1) -> kldload(8) 1999-10-30 14:25:55 +00:00
vipw Do not rely on malloc() to zero-fill allocated memory, since it is 1999-10-25 09:46:57 +00:00
vnconfig Bring documentation up to date, add a few more vnconfig examples. 1999-09-21 01:03:11 +00:00
watch ``tty'' is not required parameter 1999-10-30 14:52:24 +00:00
wicontrol Update the WaveLAN/IEEE driver: 1999-11-25 20:45:49 +00:00
wlconfig Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
wormcontrol Use the sys/wormio.h definitions of CDRIOCNEXTWRITEABLEADDR and 1999-10-01 14:12:46 +00:00
xntpd Fix spelling errors. 1999-11-07 01:24:47 +00:00
xten $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
yp_mkdb Fix stupid disorder in previous commit. This was my own error, not 1999-09-01 12:42:00 +00:00
ypbind $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
yppoll $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
yppush $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ypserv $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ypset $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
zic $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Move named and associated tools into a seperate makefile section and 1999-11-30 02:18:13 +00:00
Makefile.inc