summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_parse.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid free'ing a NULL pointer.archie2000-08-311-1/+2
|
* - Add new unsigned and hex integer parse types; this allows simplifyingarchie2000-08-101-41/+146
| | | | | | the bytearray parse type. - Allocate (larger) temporary work buffer dynamically instead of on the stack when comparing to the default value.
* Fix typo: "ng_parse_fixedsstring_info" -> "ng_parse_fixedstring_info"archie2000-03-131-8/+8
|
* Remove a bunch of un-needed includes.julian1999-12-071-2/+0
| | | | Submitted by: phk@freebsd.org
* Fix bug parsing 32 bit integers on machines where sizeof(long) == 4.archie1999-12-031-1/+2
|
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+1604
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