History log of /freebsd-current/sys/netgraph/ng_parse.h
Revision Date Author Comments
# 2ff63af9 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .h pattern

Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/


# 662c1305 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

net: clean up empty lines in .c and .h files


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# d56ace09 28-Oct-2005 Ruslan Ermilov <ru@FreeBSD.org>

Use variable-sized arrays where appropriate.


# d62d2396 16-Jan-2005 Roman Kurakin <rik@FreeBSD.org>

Fix variable name in comment num=>alen. (Lost part of commit rev 1.2)

MFC after: 3 days


# c398230b 06-Jan-2005 Warner Losh <imp@FreeBSD.org>

/* -> /*- for license, minor formatting changes


# 87e2c66a 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Get rid of the deprecated *LEN constants in favour of the new
*SIZ constants that include the trailing \0 byte.


# 8c7e4101 16-Dec-2003 Ruslan Ermilov <ru@FreeBSD.org>

Made the Ethernet address parse type standard.

OK'ed by: archie


# e20480bf 10-Nov-2003 Ruslan Ermilov <ru@FreeBSD.org>

Use a single style of multiple inclusion protection for Netgraph headers.

Reviewed by: archie, harti, emax


# f0184ff8 31-May-2002 Archie Cobbs <archie@FreeBSD.org>

Fix GCC warnings caused by initializing a zero length array. In the process,
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


# 27121ab1 16-Nov-2000 Brian Somers <brian@FreeBSD.org>

Go back to using data_len in struct ngpppoe_init_data after discussions
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


# cc3bbd68 24-Oct-2000 Julian Elischer <julian@FreeBSD.org>

Since neither archie nor I work at Whistle any more, change our email
addresses to be the more usefu @freebsd.org ones
so we can keep getting bug-reports.
- man pages to follow..


# 7b3bf3f9 10-Aug-2000 Archie Cobbs <archie@FreeBSD.org>

- Add new unsigned and hex integer parse types
- Fix bug in commented example code


# c1b9e5f2 13-Mar-2000 Archie Cobbs <archie@FreeBSD.org>

Fix typo: "ng_parse_fixedsstring_info" -> "ng_parse_fixedstring_info"


# 63e2ac54 01-Dec-1999 Archie Cobbs <archie@FreeBSD.org>

Add more comments describing how to use parse types and how they work.


# f8307e12 29-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

Add two new generic control messages, NGM_ASCII2BINARY and
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