#
8c0955cb |
|
27-Oct-2023 |
Warner Losh <imp@FreeBSD.org> |
netgraph: Fix obsolete comment splnet is no more, adjust the comment. Sponsored by: Netflix
|
#
95ee2897 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
662c1305 |
|
01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
net: clean up empty lines in .c and .h files
|
#
053359b7 |
|
29-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/netgraph: spelling fixes in comments. No functional change.
|
#
d745c852 |
|
06-Nov-2011 |
Ed Schouten <ed@FreeBSD.org> |
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file.
|
#
674d86bf |
|
18-Apr-2011 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Node constructor methods are supposed to be called in syscall context always. Convert nodes to consistently use M_WAITOK flag for memory allocation. Reviewed by: julian
|
#
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.
|
#
1ede983c |
|
23-Oct-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Retire the MALLOC and FREE macros. They are an abomination unto style(9). MFC after: 3 months
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
2c42caf7 |
|
06-Feb-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Whitespace.
|
#
50633c3a |
|
06-Feb-2005 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Remove comment which left after removal of ng_rcvdataq_t. MFC after: 1 week
|
#
c398230b |
|
06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
#
a34891c6 |
|
04-Jan-2005 |
Roman Kurakin <rik@FreeBSD.org> |
Kill a half dead comment. It's first half was killed in rev 1.12. MFC after: 3 days
|
#
ff08c098 |
|
23-Dec-2004 |
Roman Kurakin <rik@FreeBSD.org> |
Fix creation on "dlciX" hook in ng_sample. Approved by: julian MFC after: 3 days
|
#
880904c3 |
|
23-Dec-2004 |
Roman Kurakin <rik@FreeBSD.org> |
Fix counting length of leadin for hook name (sizeof () => strlen ()). Approved by: julian MFC after: 3 days
|
#
bb3e8b0b |
|
29-Jul-2004 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Address node in a less complex way. Approved by: julian (mentor)
|
#
be4252b3 |
|
20-Jul-2004 |
Julian Elischer <julian@FreeBSD.org> |
Slight cosmetic changes. Also introduce a macro to be called by persistent nodes to signal their persistence during shutdown to hide this mechanism from the node author. Make node flags have a consistent style in naming. Document the change.
|
#
3ca24c28 |
|
26-Jun-2004 |
Julian Elischer <julian@FreeBSD.org> |
Having moved metadata usage to mbuf tags, remove code that supports the old way of doing it. Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
|
#
f8aae777 |
|
28-May-2004 |
Julian Elischer <julian@FreeBSD.org> |
Switch to using C99 sparse initialisers for the type methods array. Should make no binary difference. Submitted by: Gleb Smirnoff <glebius@cell.sick.ru> Reviewed by: Harti Brandt <harti@freebsd.org> MFC after: 1 week
|
#
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
|
#
e519ede3 |
|
24-Feb-2001 |
Julian Elischer <julian@FreeBSD.org> |
Make the sample netgraph node compileable again. Makes it easier for people if they can start with something that actually compiles.
|
#
1acb27c6 |
|
30-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Implement direct support for semipersistant nodes. (e.g. ethernet nodes are persistent until you rip out the hardware) Use this support in the ethernet and sample nodes. Add some more abstraction on the 'item's so that node and hook reference counting can be checked easier. Slight man page correction. Make pppoe type dependent on ethernet type. Clean up node shutdown a little. Move a mutex from MTX_SPIN to MTX_DEF (oops) Fix small ref-counting bug. remove warning on one2many type.
|
#
cdbfe124 |
|
11-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Another brian fix, luckily not in live code.
|
#
9c8c302f |
|
10-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Fix some memory leaks Add memory leak detection assitance.
|
#
30400f03 |
|
07-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Part 2 of the netgraph rewrite. This is mostly cosmetic changes, (though I caught a bug or two while makeing them) Reviewed by: archie@freebsd.org
|
#
069154d5 |
|
05-Jan-2001 |
Julian Elischer <julian@FreeBSD.org> |
Rewrite of netgraph to start getting ready for SMP. This version is functional and is aproaching solid.. notice I said APROACHING. There are many node types I cannot test I have tested: echo hole ppp socket vjc iface tee bpf async tty The rest compile and "Look" right. More changes to follow. DEBUGGING is enabled in this code to help if people have problems.
|
#
589f6ed8 |
|
18-Dec-2000 |
Julian Elischer <julian@FreeBSD.org> |
Divorce the kernel binary ABI version number from the message format version number. (userland programs should not need to be recompiled when the netgraph kernel internal ABI is changed. Also fix modules that don;t handle the fact that a caller may not supply a return message pointer. (benign at the moment because the calling code checks, but that will change)
|
#
859a4d16 |
|
12-Dec-2000 |
Julian Elischer <julian@FreeBSD.org> |
Reviewed by: Archie@freebsd.org This clears out my outstanding netgraph changes. There is a netgraph change of design in the offing and this is to some extent a superset of soem of the new functionality and some of the old functionality that may be removed. This code works as before, but allows some new features that I want to work with and evaluate. It is the basis for a version of netgraph with integral locking for SMP use. This is running on my test machine with no new problems :-)
|
#
99cdf4cc |
|
18-Nov-2000 |
David Malone <dwmalone@FreeBSD.org> |
Add the use of M_ZERO to netgraph. Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Submitted by: archie Approved by: archie
|
#
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..
|
#
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.
|
#
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
|
#
fa200997 |
|
01-Dec-1999 |
Archie Cobbs <archie@FreeBSD.org> |
Show how to supply a struct ng_cmdlist for (de)asciification of control messages. Suggested by: julian
|
#
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
|
#
25792ef3 |
|
23-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 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
|
#
2b70adcb |
|
02-Nov-1999 |
Archie Cobbs <archie@FreeBSD.org> |
Simplify checking/parsing of strings using strtoul(), isdigit(), etc.
|
#
74f5c6aa |
|
01-Nov-1999 |
Julian Elischer <julian@FreeBSD.org> |
Add typedefs for node methods Suggested by phk.
|
#
a923d43a |
|
31-Oct-1999 |
Julian Elischer <julian@FreeBSD.org> |
braino in sample code. picked up by phk.
|
#
4cf49a43 |
|
21-Oct-1999 |
Julian Elischer <julian@FreeBSD.org> |
Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 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
|