summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_parse.h
Commit message (Collapse)AuthorAgeFilesLines
* Use variable-sized arrays where appropriate.ru2005-10-281-1/+1
|
* Fix variable name in comment num=>alen. (Lost part of commit rev 1.2)rik2005-01-161-1/+1
| | | | MFC after: 3 days
* /* -> /*- for license, minor formatting changesimp2005-01-071-2/+3
|
* Get rid of the deprecated *LEN constants in favour of the newharti2004-01-261-5/+5
| | | | *SIZ constants that include the trailing \0 byte.
* Made the Ethernet address parse type standard.ru2003-12-171-0/+8
| | | | OK'ed by: archie
* Use a single style of multiple inclusion protection for Netgraph headers.ru2003-11-111-3/+3
| | | | Reviewed by: archie, harti, emax
* Fix GCC warnings caused by initializing a zero length array. In the process,archie2002-05-311-11/+6
| | | | | | | simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks
* Go back to using data_len in struct ngpppoe_init_data after discussionsbrian2000-11-161-4/+19
| | | | | | | | | | | with Julian and Archie. Implement a new ``sizedstring'' parse type for dealing with field pairs consisting of a uint16_t followed by a data field of that size, and use this to deal with the data_len and data fields. Written by: Archie with some input by me Agreed in principle by: julian
* Since neither archie nor I work at Whistle any more, change our emailjulian2000-10-241-1/+1
| | | | | | addresses to be the more usefu @freebsd.org ones so we can keep getting bug-reports. - man pages to follow..
* - Add new unsigned and hex integer parse typesarchie2000-08-101-2/+16
| | | | - Fix bug in commented example code
* Fix typo: "ng_parse_fixedsstring_info" -> "ng_parse_fixedstring_info"archie2000-03-131-3/+3
|
* Add more comments describing how to use parse types and how they work.archie1999-12-011-46/+165
|
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-0/+388
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