History log of /freebsd-10-stable/usr.sbin/ngctl/list.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 166529 06-Feb-2007 kevlo

getopt(3) returns -1, not EOF.


# 160002 28-Jun-2006 glebius

Style: space after "return".


# 158882 24-May-2006 glebius

Unnest includes before forthcoming editing.


# 141575 09-Feb-2005 ru

- Reduce the number of netgraph messages when listing
nodes from (N + 1) to 1, where N is the number of
nodes in the system.

- Implement "ls -l" which runs the "show" command for
each node.

In collaboration with: glebius


# 125115 27-Jan-2004 ru

Get rid of all (but one in write.c) static size buffers.


# 125011 26-Jan-2004 ru

Make this WARNS=3 clean.


# 122556 12-Nov-2003 harti

Get rid of the old constants which did not include the trailing NUL
and use the new constants which do.


# 53913 30-Nov-1999 archie

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


# 52419 21-Oct-1999 julian

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree