From owner-cvs-src-old@FreeBSD.ORG Sat Jun 4 16:33:19 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86026106564A for ; Sat, 4 Jun 2011 16:33:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 72D5E8FC14 for ; Sat, 4 Jun 2011 16:33:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p54GXJ2n058440 for ; Sat, 4 Jun 2011 16:33:19 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p54GXJFT058439 for cvs-src-old@freebsd.org; Sat, 4 Jun 2011 16:33:19 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <201106041633.p54GXJFT058439@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sat, 4 Jun 2011 16:33:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_syncache.c udp_usrreq.c src/sys/netinet6 in6_pcb.c in6_pcb.h udp6_usrreq.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 16:33:19 -0000 rwatson 2011-06-04 16:33:06 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_syncache.c udp_usrreq.c sys/netinet6 in6_pcb.c in6_pcb.h udp6_usrreq.c Log: SVN rev 222691 on 2011-06-04 16:33:06Z by rwatson Add _mbuf() variants of various inpcb-related interfaces, including lookup, hash install, etc. For now, these are arguments are unused, but as we add RSS support, we will want to use hashes extracted from mbufs, rather than manually calculated hashes of header fields, due to the expensive of the software version of Toeplitz (and similar hashes). Add notes that it would be nice to be able to pass mbufs into lookup routines in pf(4), optimising firewall lookup in the same way, but the code structure there doesn't facilitate that currently. (In principle there is no reason this couldn't be MFCed -- the change extends rather than modifies the KBI. However, it won't be useful without other previous possibly less MFCable changes.) Reviewed by: bz Sponsored by: Juniper Networks, Inc. Revision Changes Path 1.76 +8 -0 src/sys/contrib/pf/net/pf.c 1.280 +35 -4 src/sys/netinet/in_pcb.c 1.150 +6 -0 src/sys/netinet/in_pcb.h 1.434 +8 -6 src/sys/netinet/tcp_input.c 1.189 +4 -4 src/sys/netinet/tcp_syncache.c 1.279 +2 -2 src/sys/netinet/udp_usrreq.c 1.126 +25 -4 src/sys/netinet6/in6_pcb.c 1.27 +6 -0 src/sys/netinet6/in6_pcb.h 1.122 +2 -2 src/sys/netinet6/udp6_usrreq.c