History log of /freebsd/sys/netgraph/ng_ksocket.c (Results 176 – 185 of 185)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# be731c30 11-Oct-2000 Archie Cobbs <archie@FreeBSD.org>

Fix memory leak.

Submitted by: Christopher N. Harrell <cnh@ivmg.net>


Revision tags: release/4.1.1_cvs
# 65b9a0da 21-Sep-2000 Archie Cobbs <archie@FreeBSD.org>

Allocate all memory (including within node constructors) with M_NOWAIT
instead of M_WAITOK, to allow for maximum flexibility.


# 57b57be3 11-Aug-2000 Archie Cobbs <archie@FreeBSD.org>

Take advantage of the new unsigned and hex integer types.


# 1baeddb8 10-Aug-2000 Archie Cobbs <archie@FreeBSD.org>

In a struct sockaddr, sa->sa_len can be zero if uninitialized.
Make sure that this doesn't cause a problem when parsing.


Revision tags: release/4.1.0, release/3.5.0_cvs
# a4ec03cf 28-Apr-2000 Julian Elischer <julian@FreeBSD.org>

Two simple changes to the kernel internal API for netgraph modules,
to support future work in flow-control and 'packet reject/replace'
processing modes.

reviewed by: phk, archie


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs
# 647b86df 07-Dec-1999 Julian Elischer <julian@FreeBSD.org>

Remove a bunch of un-needed includes.
Submitted by: phk@freebsd.org


# f8307e12 30-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

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

show more ...


# 25792ef3 24-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

Change the prototype of the strto* routines to make the second
parameter a char ** instead of a const char **. This make these
kernel routines consistent with the corresponding libc userland
routine

Change the prototype of the strto* routines to make the second
parameter a char ** instead of a const char **. This make these
kernel routines consistent with the corresponding libc userland
routines.

Which is actually 'correct' is debatable, but consistency and
following the spec was deemed more important in this case.

Reviewed by (in concept): phk, bde

show more ...


# 19bff684 19-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

Add some safety using KASSERT() and splnet().


# cb3c7a5d 17-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

New netgraph node type "ksocket".

Obtained from: Whistle source tree


12345678