summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* - Make sure the message token returned by NgSendMsg() is non-negativearchie2000-06-211-4/+11
| | | | | | - Have NgSendAsciiMsg() return the same token as NgSendMsg() - Document that NgSendMsg() and NgSendAsciiMsg() return the token - Add MLINKS for the functions defined in netgraph(3)
* Fix buffer overflow bug in NgSendAsciiMsg().archie2000-06-021-1/+1
|
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-2/+107
| | | | | | | | | | | | | | | | | | | | | | | 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
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+206
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