Luigi Rizzo
09b2ca212b
s/FREE/free/
2001-11-04 17:35:31 +00:00
Ruslan Ermilov
a447a5ae06
Bring in fix from NetBSD's revision 1.16:
...
Pass the correct destination address for the route-to-gateway case.
PR: kern/10607
MFC after: 2 weeks
2001-06-26 09:00:50 +00:00
Jake Burkholder
e39756439c
Back out the previous change to the queue(3) interface.
...
It was not discussed and should probably not happen.
Requested by: msmith and others
2000-05-26 02:09:24 +00:00
Jake Burkholder
740a1973a6
Change the way that the queue(3) structures are declared; don't assume that
...
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
2000-05-23 20:41:01 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bill Fumerola
3d177f465a
Add sysctl descriptions to many SYSCTL_XXXs
...
PR: kern/11197
Submitted by: Adrian Chadd <adrian@FreeBSD.org>
Reviewed by: billf(spelling/style/minor nits)
Looked at by: bde(style)
1999-05-03 23:57:32 +00:00
Eivind Eklund
66235db57f
Staticize.
1999-04-11 02:50:42 +00:00
Archie Cobbs
f1d19042b0
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
...
and local variables, goto labels, and functions declared but not defined.
1998-12-07 21:58:50 +00:00
Bruce Evans
e5b19842ef
Removed unused includes.
1998-06-21 14:53:44 +00:00
John Polstra
677c9dd6f3
Fix a typo-bug in ipflow_reap that could cause a NULL pointer
...
dereference. I have also sent this fix to Matt Thomas.
1998-05-19 17:47:11 +00:00
Pierre Beyssac
4c711e6d04
Move (private) struct ipflow out of ip_var.h, to reduce dependencies
...
(for ipfw for example) on internal implementation details.
Add $Id$ where missing.
1998-05-19 15:53:50 +00:00
David Greenman
cc3205c24d
Moved #define of IPFLOW_HASHBITS to ip_flow.c where I think it belongs.
1998-05-19 14:19:03 +00:00
David Greenman
1f91d8c563
Added fast IP forwarding code by Matt Thomas <matt@3am-software.com> via
...
NetBSD, ported to FreeBSD by Pierre Beyssac <pb@fasterix.freenix.org> and
minorly tweaked by me.
This is a standard part of FreeBSD, but must be enabled with:
"sysctl -w net.inet.ip.fastforwarding=1" ...and of course forwarding must
also be enabled. This should probably be modified to use the zone
allocator for speed and space efficiency. The current algorithm also
appears to lose if the number of active paths exceeds IPFLOW_MAX (256),
in which case it wastes lots of time trying to figure out which cache
entry to drop.
1998-05-19 14:04:36 +00:00