1 .\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2 .\" All rights reserved.
4 .\" Subject to the following obligations and disclaimer of warranty, use and
5 .\" redistribution of this software, in source or object code forms, with or
6 .\" without modifications are expressly permitted by Whistle Communications;
7 .\" provided, however, that:
8 .\" 1. Any and all reproductions of the source or object code must include the
9 .\" copyright notice above and the following disclaimer of warranties; and
10 .\" 2. No rights are granted, in any manner or form, to use Whistle
11 .\" Communications, Inc. trademarks, including the mark "WHISTLE
12 .\" COMMUNICATIONS" on advertising, endorsements, or otherwise except as
13 .\" such appears in the above copyright notice or in the software.
15 .\" THIS SOFTWARE IS BEING PROVIDED BY WHISTLE COMMUNICATIONS "AS IS", AND
16 .\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO
17 .\" REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SOFTWARE,
18 .\" INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED WARRANTIES OF
19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
20 .\" WHISTLE COMMUNICATIONS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY
21 .\" REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THIS
22 .\" SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE.
23 .\" IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES
24 .\" RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
25 .\" WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
26 .\" PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
27 .\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
28 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 .\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
33 .\" $FreeBSD: src/usr.sbin/ngctl/ngctl.8,v 1.5.2.7 2003/03/11 22:31:29 trhodes Exp $
34 .\" $DragonFly: src/usr.sbin/ngctl/ngctl.8,v 1.2 2003/06/17 04:29:57 dillon Exp $
35 .\" $Whistle: ngctl.8,v 1.6 1999/01/20 03:19:44 archie Exp $
42 .Nd netgraph control utility
52 utility creates a new netgraph node of type
54 which can be used to issue netgraph commands.
58 command is supplied on the command line, and standard input is a tty,
60 will enter interactive mode.
63 will execute the supplied command(s) and exit immediately.
65 Nodes can be created, removed, joined together, etc.
67 formatted control messages can be sent to any node if that node
68 supports binary/ASCII control message conversion.
72 will display any control messages and data packets received by the socket node.
73 In the case of control messages, the message arguments are displayed in
75 form if the originating node supports conversion.
77 The options are as follows:
78 .Bl -tag -width indent
80 Read commands from the named file.
81 A single dash represents the standard input.
82 Blank lines and lines starting with a
88 to the newly created netgraph node.
91 where XXX is the process ID number.
93 Increase the debugging verbosity level.
96 The currently supported commands in
100 .Bd -literal -offset indent -compact
101 connect Connects two nodes
102 debug Get/set debugging verbosity level
103 help Show command summary or get help on a command
104 list Show information about all nodes
105 mkpeer Create and connect a new node to an existing node
106 msg Send an ASCII formatted message to a node
107 name Assign a name to a node
108 read Read and execute commands from a file
109 rmhook Disconnect a node's hook
110 show Show information about a node
111 shutdown Shutdown a node
112 status Get human readable status from a node
113 types Show all installed node types
114 write Send a data packet down the hook named by "hook".
118 Some commands have aliases, e.g.,
124 command displays the available
125 commands, their usage and aliases, and a brief description.
135 system was designed and first implemented at Whistle Communications, Inc. in
138 customized for the Whistle InterJet.
140 .An Archie Cobbs Aq archie@whistle.com