History log of /freebsd-10.0-release/usr.sbin/ngctl/msg.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

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

# 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


# 216588 20-Dec-2010 charnier

Add __unused. Ansi prototypes.


# 162491 20-Sep-2006 kan

Silence GCC4 signed/unsigned pointer mismatch warning.


# 160002 28-Jun-2006 glebius

Style: space after "return".


# 158882 24-May-2006 glebius

Unnest includes before forthcoming editing.


# 125115 27-Jan-2004 ru

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


# 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.


# 61880 20-Jun-2000 archie

When the 'msg' command is used from the command line, check for a
synchronous reply, and display it (if any) before exiting.

Requested by: phk


# 58018 13-Mar-2000 archie

Remove erroneous built-in help information for the 'msg' command.


# 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