summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl
Commit message (Collapse)AuthorAgeFilesLines
* - Reduce the number of netgraph messages when listingru2005-02-091-11/+35
| | | | | | | | | | 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
* Backout rev. 1.17 per ru@ request: there are net.graph.recvspace andmaxim2005-02-041-4/+2
| | | | net.graph.maxdgram sysctls.
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Increase a socket receive buffer size. This helps 'ngctl list'maxim2004-11-251-2/+4
| | | | | | | | | to deal with a big number of nodes. Submitted by: archie Approved by: archie Reported and tested: Konstantin Timashkov MFC after: 1 month
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Get rid of all (but one in write.c) static size buffers.ru2004-01-276-37/+56
|
* Make this WARNS=3 clean.ru2004-01-2613-19/+28
|
* Add a GraphViz-exporting ngctl(8) "dot" command. You can now creategreen2004-01-095-11/+203
| | | | | | | very useful .dot files of your netgraph(4) to quickly visualize the nodes, hooks and edges. An example of this can be found here: http://people.freebsd.org/~green/sample-netgraph-dot.ps If anyone would like to refine the output further, please do so.
* Use fprintf() instead of errx() when displaying usage string. The program namecharnier2004-01-041-2/+3
| | | | will not be written twice.
* Get rid of the old constants which did not include the trailing NULharti2003-11-123-4/+4
| | | | and use the new constants which do.
* Add missing "of".fenner2002-12-141-1/+1
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Add ngctl "write" command.archie2002-01-225-1/+115
| | | | MFC after: 1 week
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-6/+7
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Unrevert something which shouldn't have been reverted in the previous revert.phk2001-03-171-0/+1
| | | | (Yes, I'm going to bed now to get some much needed sleep...)
* Backout my previous commit, it appearantly doesn't work for asynchronousphk2001-03-173-55/+8
| | | | messages.
* Add -ledit to ngctl.phk2001-03-162-8/+54
| | | | | | | Somebody submitted this long time ago, and it has been sitting in my tree for months because I thought archie would pick it up. Submitted by: (sorry, lost track)
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* remove trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* Fix bug in "read" command.archie2000-10-101-2/+4
| | | | Submitted by: Dave Cornelius <dc@packetdesign.com>
* Remove unused variable.archie2000-07-201-1/+1
| | | | | PR: bin/20052 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Yellow hat this way: forgot cvs add.phk2000-07-031-0/+103
|
* Experiemntal ascii based device configuration mechanism.phk2000-07-033-1/+3
| | | | This may or may not survive, decision will be made well before 5.0-R
* When the 'msg' command is used from the command line, check for aarchie2000-06-203-45/+70
| | | | | | synchronous reply, and display it (if any) before exiting. Requested by: phk
* Field structure changed name from 'typename' -> 'type_name'.archie2000-05-011-1/+1
|
* Remove erroneous built-in help information for the 'msg' command.archie2000-03-131-3/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* No need to try loading ng_socket.ko, as NgMkSockNode() does thatarchie2000-01-282-11/+1
| | | | for us now if necessary.
* Manual page style work.julian1999-12-211-14/+25
| | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-3010-43/+315
| | | | | | | | | | | | | | | | | | | | | | | 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
* Limit COPTS added by Makefile to just '-Wall'.archie1999-10-281-4/+2
|
* If we get an EPROTONOSUPP error when trying to create the netgraph socketarchie1999-10-273-1/+18
| | | | | node, it's most likely because the "ng_socket.ko" KLD is not loaded yet. So make an attempt to load it before giving up.
* Remove extraneous -I compile flag that was used during testing.archie1999-10-271-1/+0
|
* Put include <netgraph.h> back in - problem was due to a cvsup mess ondillon1999-10-241-0/+1
| | | | | freefall. There may also be a real problem w/ buildworld but the fix would go somewhere else, not here.
* Cleanup missing includes, stale includes, and a few printf formatdillon1999-10-231-1/+1
| | | | inconsistancies.
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-2114-0/+1500
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
OpenPOWER on IntegriCloud