freebsd-skq/sys/net
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
..
bpf_compat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bpf_filter.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bpf.c Fix bug in BIOCGETIF ioctl() where it would return a bogus interface 1999-11-03 21:32:28 +00:00
bpf.h Implement pseudo_AF_HDRCMPLT, which controls the state of the 'header 1999-10-15 05:07:00 +00:00
bpfdesc.h Implement pseudo_AF_HDRCMPLT, which controls the state of the 'header 1999-10-15 05:07:00 +00:00
bridge.c Fix kernel compile with BRIDGE, but without DUMMYNET 1999-09-11 18:54:41 +00:00
bridge.h
bsd_comp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ethernet.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
fddi.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hostcache.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hostcache.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_arp.h Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
if_atm.h clean up en atm driver 1999-05-08 14:23:40 +00:00
if_atmsubr.c clean up en atm driver 1999-05-08 14:23:40 +00:00
if_disc.c Set the queue length. 1999-11-12 19:30:08 +00:00
if_dl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_ethersubr.c Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
if_fddisubr.c Implement pseudo_AF_HDRCMPLT, which controls the state of the 'header 1999-10-15 05:07:00 +00:00
if_gif.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
if_iso88025subr.c Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
if_llc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_loop.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
if_media.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_media.h Expand the field width for subtypes. We had already overflowed it 1999-11-24 02:40:12 +00:00
if_mib.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_mib.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_ppp.c Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the 1999-09-26 18:44:29 +00:00
if_ppp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_pppvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_sl.c Re-allocate cblocks after changing the slip unit number. 1999-10-28 16:04:59 +00:00
if_slvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_sppp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_spppsubr.c When getting a RCN event in state ACK_RCVD, RFC 1661 demands that we 1999-10-29 17:57:42 +00:00
if_tun.c Zap #include "tun.h" (for NTUN) - which isn't used anymore. 1999-09-27 00:55:29 +00:00
if_tun.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_tunvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_types.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
if_var.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
if_vlan_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_vlan.c Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
if.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
if.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
iso88025.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
net_osdep.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
net_osdep.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
netisr.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
pfkeyv2.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
ppp_comp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_deflate.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_defs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_tty.c This patch clears the way for removing a number of tty related 1999-09-25 16:21:39 +00:00
radix.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
radix.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_cb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_cb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_usrreq.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
route.c Only emit the ``wrong ifa'' message if the matching interface 1999-11-23 22:30:01 +00:00
route.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
rtsock.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
slcompress.c Add some more comments to the sl_compress_tcp() function. 1999-11-15 20:17:04 +00:00
slcompress.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
slip.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
zlib.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
zlib.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00