glebius
6c78a88c3b
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
2011-04-18 09:12:27 +00:00
des
66f807ed8b
Retire the MALLOC and FREE macros. They are an abomination unto style(9).
...
MFC after: 3 months
2008-10-23 15:53:51 +00:00
glebius
0e5171dc2a
Remove ng_connect_t where it is unused. Probably it remained from ng_source.c.
2005-03-14 20:49:48 +00:00
phk
993d22fc7e
Make M_NETGRAPH_ETF static
2005-02-10 12:26:57 +00:00
imp
a50ffc2912
/* -> /*- for license, minor formatting changes
2005-01-07 01:45:51 +00:00
julian
5a269c8a7e
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>
2004-06-26 22:24:16 +00:00
julian
c85e63d425
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
2004-05-29 00:51:19 +00:00
ru
3c75dd4b07
Fixed panic on hook disconnection that previous revision has introduced.
2003-12-19 15:09:12 +00:00
ru
832e732357
Fixed two memory leaks.
...
Reviewed by: harti
2003-11-17 19:13:44 +00:00
archie
b10887dc2b
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
2002-05-31 23:48:03 +00:00
julian
907d42b2d5
A node that allows ethernet type packets to be filtered to different
...
hooks depending on ethertype. Great for prototyping protocols.
connects to the lower and upper hooks of an ethernet type of node.
Obtained from: Monzoon Networks.
Thanks to Andre Oppermann, May 2001.
2001-10-30 07:28:17 +00:00