Date: Tue, 19 May 1998 07:04:40 -0700 (PDT) From: David Greenman <dg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/conf files src/sys/net if_ethersubr.c if_fddisubr.c if_ppp.c src/sys/netinet ip_flow.c in.h in_var.h ip_fw.c ip_input.c ip_var.h Message-ID: <199805191404.HAA29691@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 1998/05/19 07:04:40 PDT
Modified files:
sys/conf files
sys/net if_ethersubr.c if_fddisubr.c if_ppp.c
sys/netinet in.h in_var.h ip_fw.c ip_input.c ip_var.h
Added files:
sys/netinet ip_flow.c
Log:
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.
Revision Changes Path
1.137 +1 -0 src/sys/conf/files
1.48 +3 -1 src/sys/net/if_ethersubr.c
1.28 +3 -1 src/sys/net/if_fddisubr.c
1.57 +5 -1 src/sys/net/if_ppp.c
1.33 +4 -2 src/sys/netinet/in.h
1.28 +5 -1 src/sys/netinet/in_var.h
1.83 +2 -1 src/sys/netinet/ip_fw.c
1.83 +6 -3 src/sys/netinet/ip_input.c
1.35 +19 -1 src/sys/netinet/ip_var.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805191404.HAA29691>
