From owner-cvs-src-old@FreeBSD.ORG Sun Aug 2 19:44:21 2009 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 C8152106567C for ; Sun, 2 Aug 2009 19:44:21 +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 963858FC0C for ; Sun, 2 Aug 2009 19:44:21 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n72JiLr8076331 for ; Sun, 2 Aug 2009 19:44:21 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n72JiLPC076330 for cvs-src-old@freebsd.org; Sun, 2 Aug 2009 19:44:21 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200908021944.n72JiLPC076330@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 2 Aug 2009 19:43:32 +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/dev/cxgb/ulp/tom cxgb_cpl_io.c src/sys/net if_bridge.c src/sys/netinet icmp6.h icmp_var.h in_gif.c ip_divert.c ip_icmp.c ip_input.c ip_var.h tcp_input.c tcp_var.h udp_usrreq.c udp_var.h src/sys/netinet6 ... 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: Sun, 02 Aug 2009 19:44:22 -0000 rwatson 2009-08-02 19:43:32 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/net if_bridge.c sys/netinet icmp6.h icmp_var.h in_gif.c ip_divert.c ip_icmp.c ip_input.c ip_var.h tcp_input.c tcp_var.h udp_usrreq.c udp_var.h sys/netinet6 icmp6.c Log: SVN rev 196039 on 2009-08-02 19:43:32Z by rwatson Many network stack subsystems use a single global data structure to hold all pertinent statatistics for the subsystem. These structures are sometimes "borrowed" by kernel modules that require a place to store statistics for similar events. Add KPI accessor functions for statistics structures referenced by kernel modules so that they no longer encode certain specifics of how the data structures are named and stored. This change is intended to make it easier to move to per-CPU network stats following 8.0-RELEASE. The following modules are affected by this change: if_bridge if_cxgb if_gif ip_mroute ipdivert pf In practice, most of these statistics consumers should, in fact, maintain their own statistics data structures rather than borrowing structures from the base network stack. However, that change is too agressive for this point in the release cycle. Reviewed by: bz Approved by: re (kib) Revision Changes Path 1.69 +14 -14 src/sys/contrib/pf/net/pf.c 1.37 +1 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.131 +9 -9 src/sys/net/if_bridge.c 1.27 +11 -0 src/sys/netinet/icmp6.h 1.31 +11 -0 src/sys/netinet/icmp_var.h 1.50 +3 -3 src/sys/netinet/in_gif.c 1.156 +5 -5 src/sys/netinet/ip_divert.c 1.138 +14 -0 src/sys/netinet/ip_icmp.c 1.375 +21 -0 src/sys/netinet/ip_input.c 1.115 +14 -0 src/sys/netinet/ip_var.h 1.411 +14 -0 src/sys/netinet/tcp_input.c 1.182 +11 -0 src/sys/netinet/tcp_var.h 1.262 +14 -0 src/sys/netinet/udp_usrreq.c 1.42 +11 -0 src/sys/netinet/udp_var.h 1.117 +14 -0 src/sys/netinet6/icmp6.c