summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* Add __unused. Ansi prototypes.charnier2010-12-201-2/+4
|
* Silence GCC4 signed/unsigned pointer mismatch warning.kan2006-09-211-1/+1
|
* Style: space after "return".glebius2006-06-281-4/+4
|
* Unnest includes before forthcoming editing.glebius2006-05-241-0/+8
|
* Get rid of all (but one in write.c) static size buffers.ru2004-01-271-10/+19
|
* Get rid of the old constants which did not include the trailing NULharti2003-11-121-1/+1
| | | | and use the new constants which do.
* When the 'msg' command is used from the command line, check for aarchie2000-06-201-1/+61
| | | | | | synchronous reply, and display it (if any) before exiting. Requested by: phk
* Remove erroneous built-in help information for the 'msg' command.archie2000-03-131-3/+1
|
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+88
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
OpenPOWER on IntegriCloud