Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Push the detection of threading libs support down to ngctl/Makefile | ru | 2006-11-27 | 1 | -0/+7 |
| | | | | | | | as the latter can be built without threading (with the loss of line editing functionality). Pointed by: glebius | ||||
* | Fix "make checkdpadd". | ru | 2006-11-26 | 1 | -1/+1 |
| | |||||
* | Silence GCC4 signed/unsigned pointer mismatch warning. | kan | 2006-09-21 | 1 | -1/+1 |
| | |||||
* | - Pass pointer to fd_set in ReadSockets. | glebius | 2006-08-08 | 1 | -8/+9 |
| | | | | | | - style(9) nits. Submitted by: ru | ||||
* | Add line edit and history support to ngctl(8) via editline(3). | glebius | 2006-08-07 | 2 | -22/+168 |
| | | | | | | | | | | | | | | | | | | Details: - The main thread runs editline(3) functions, that can block. - A separate thread is launched to monitor netgraph sockets. - The access to the descriptors is protected by a mutex. At runtime the monitoring thread owns the mutex. When the main thread reads a command from el_gets() it asks the monitoring thread to release a mutex and sleep until the main thread processes the command. This makes ngctl(8) depend on libedit, and libpthread. Thus, the new functionality isn't compiled in if release is being built with -DRELEASE_CRUNCH. PR: bin/87352 Reviewed by: ru, Nuno Antunes <nuno.antunes gmail.com> | ||||
* | Don't use empty braces ("{}") to initialise arrays. This is a syntax | stefanf | 2006-07-17 | 6 | -6/+6 |
| | | | | error in ISO C (both 90 and 99). | ||||
* | Style: space after "return". | glebius | 2006-06-28 | 14 | -65/+65 |
| | |||||
* | Unnest includes before forthcoming editing. | glebius | 2006-05-24 | 16 | -20/+95 |
| | |||||
* | - Reduce the number of netgraph messages when listing | ru | 2005-02-09 | 1 | -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 and | maxim | 2005-02-04 | 1 | -4/+2 |
| | | | | net.graph.maxdgram sysctls. | ||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -1/+1 |
| | |||||
* | Increase a socket receive buffer size. This helps 'ngctl list' | maxim | 2004-11-25 | 1 | -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. | ru | 2004-07-02 | 1 | -1/+1 |
| | |||||
* | Get rid of all (but one in write.c) static size buffers. | ru | 2004-01-27 | 6 | -37/+56 |
| | |||||
* | Make this WARNS=3 clean. | ru | 2004-01-26 | 13 | -19/+28 |
| | |||||
* | Add a GraphViz-exporting ngctl(8) "dot" command. You can now create | green | 2004-01-09 | 5 | -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 name | charnier | 2004-01-04 | 1 | -2/+3 |
| | | | | will not be written twice. | ||||
* | Get rid of the old constants which did not include the trailing NUL | harti | 2003-11-12 | 3 | -4/+4 |
| | | | | and use the new constants which do. | ||||
* | Add missing "of". | fenner | 2002-12-14 | 1 | -1/+1 |
| | |||||
* | Usage style sweep: spell "usage" with a small 'u'. | des | 2002-04-22 | 1 | -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. | archie | 2002-01-22 | 5 | -1/+115 |
| | | | | MFC after: 1 week | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | Perform a major cleanup of the usr.sbin Makefiles. | obrien | 2001-07-20 | 1 | -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. | obrien | 2001-07-20 | 1 | -1/+0 |
| | |||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -2/+2 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | - Backout botched attempt to introduce MANSECT feature. | ru | 2001-03-26 | 1 | -0/+1 |
| | | | | - MAN[1-9] -> MAN. | ||||
* | Set the default manual section for usr.sbin/ to 8. | ru | 2001-03-20 | 1 | -1/+0 |
| | |||||
* | Unrevert something which shouldn't have been reverted in the previous revert. | phk | 2001-03-17 | 1 | -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 asynchronous | phk | 2001-03-17 | 3 | -55/+8 |
| | | | | messages. | ||||
* | Add -ledit to ngctl. | phk | 2001-03-16 | 2 | -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. | ru | 2000-12-14 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: use certified section headers wherever possible. | ru | 2000-11-17 | 1 | -1/+1 |
| | |||||
* | remove trailing periods from SEE ALSO. | ben | 2000-11-15 | 1 | -1/+1 |
| | |||||
* | Fix bug in "read" command. | archie | 2000-10-10 | 1 | -2/+4 |
| | | | | Submitted by: Dave Cornelius <dc@packetdesign.com> | ||||
* | Remove unused variable. | archie | 2000-07-20 | 1 | -1/+1 |
| | | | | | PR: bin/20052 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> | ||||
* | Yellow hat this way: forgot cvs add. | phk | 2000-07-03 | 1 | -0/+103 |
| | |||||
* | Experiemntal ascii based device configuration mechanism. | phk | 2000-07-03 | 3 | -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 a | archie | 2000-06-20 | 3 | -45/+70 |
| | | | | | | synchronous reply, and display it (if any) before exiting. Requested by: phk | ||||
* | Field structure changed name from 'typename' -> 'type_name'. | archie | 2000-05-01 | 1 | -1/+1 |
| | |||||
* | Remove erroneous built-in help information for the 'msg' command. | archie | 2000-03-13 | 1 | -3/+1 |
| | |||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -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 that | archie | 2000-01-28 | 2 | -11/+1 |
| | | | | for us now if necessary. | ||||
* | Manual page style work. | julian | 1999-12-21 | 1 | -14/+25 |
| | | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks! | ||||
* | Add two new generic control messages, NGM_ASCII2BINARY and | archie | 1999-11-30 | 10 | -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'. | archie | 1999-10-28 | 1 | -4/+2 |
| | |||||
* | If we get an EPROTONOSUPP error when trying to create the netgraph socket | archie | 1999-10-27 | 3 | -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. | archie | 1999-10-27 | 1 | -1/+0 |
| | |||||
* | Put include <netgraph.h> back in - problem was due to a cvsup mess on | dillon | 1999-10-24 | 1 | -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 format | dillon | 1999-10-23 | 1 | -1/+1 |
| | | | | inconsistancies. |