From owner-cvs-all Tue May 19 07:09:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA21301 for cvs-all-outgoing; Tue, 19 May 1998 07:09:14 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA21286; Tue, 19 May 1998 07:09:08 -0700 (PDT) (envelope-from dg@FreeBSD.org) From: David Greenman Received: (from dg@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA29691; Tue, 19 May 1998 07:04:40 -0700 (PDT) Date: Tue, 19 May 1998 07:04:40 -0700 (PDT) Message-Id: <199805191404.HAA29691@freefall.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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 via NetBSD, ported to FreeBSD by Pierre Beyssac 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