From owner-cvs-src@FreeBSD.ORG Fri Nov 14 13:02:24 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2232316A4CF; Fri, 14 Nov 2003 13:02:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8410D43FB1; Fri, 14 Nov 2003 13:02:23 -0800 (PST) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAEL2NXJ073187; Fri, 14 Nov 2003 13:02:23 -0800 (PST) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAEL2Nen073186; Fri, 14 Nov 2003 13:02:23 -0800 (PST) (envelope-from andre) Message-Id: <200311142102.hAEL2Nen073186@repoman.freebsd.org> From: Andre Oppermann Date: Fri, 14 Nov 2003 13:02:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet in_var.h ip_fastfwd.c ip_flow.c ip_flow.h ip_input.c ip_output.c src/sys/sys mbuf.h src/sys/conf files src/sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 21:02:24 -0000 andre 2003/11/14 13:02:23 PST FreeBSD src repository Modified files: sys/netinet in_var.h ip_input.c ip_output.c sys/sys mbuf.h sys/conf files sys/net if_arcsubr.c if_ef.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c if_ppp.c Added files: sys/netinet ip_fastfwd.c Removed files: sys/netinet ip_flow.c ip_flow.h Log: Introduce ip_fastforward and remove ip_flow. Short description of ip_fastforward: o adds full direct process-to-completion IPv4 forwarding code o handles ip fragmentation incl. hw support (ip_flow did not) o sends icmp needfrag to source if DF is set (ip_flow did not) o supports ipfw and ipfilter (ip_flow did not) o supports divert, ipfw fwd and ipfilter nat (ip_flow did not) o returns anything it can't handle back to normal ip_input Enable with sysctl -w net.inet.ip.fastforwarding=1 Reviewed by: sam (mentor) Revision Changes Path 1.852 +1 -1 src/sys/conf/files 1.15 +2 -2 src/sys/net/if_arcsubr.c 1.27 +1 -1 src/sys/net/if_ef.c 1.155 +1 -1 src/sys/net/if_ethersubr.c 1.87 +1 -1 src/sys/net/if_fddisubr.c 1.58 +1 -1 src/sys/net/if_iso88025subr.c 1.94 +1 -1 src/sys/net/if_ppp.c 1.48 +1 -3 src/sys/netinet/in_var.h 1.1 +806 -0 src/sys/netinet/ip_fastfwd.c (new) 1.17 +0 -377 src/sys/netinet/ip_flow.c (dead) 1.6 +0 -64 src/sys/netinet/ip_flow.h (dead) 1.253 +29 -8 src/sys/netinet/ip_input.c 1.200 +1 -0 src/sys/netinet/ip_output.c 1.126 +1 -0 src/sys/sys/mbuf.h