From owner-cvs-src-old@FreeBSD.ORG Sat Apr 11 22:09:58 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 47381106564A for ; Sat, 11 Apr 2009 22:09:58 +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 313728FC08 for ; Sat, 11 Apr 2009 22:09:58 +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 n3BM9w5p017785 for ; Sat, 11 Apr 2009 22:09:58 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3BM9waI017784 for cvs-src-old@freebsd.org; Sat, 11 Apr 2009 22:09:58 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200904112209.n3BM9waI017784@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sat, 11 Apr 2009 22:07:19 +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/netinet tcp_hostcache.c tcp_input.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timewait.c tcp_usrreq.c tcp_var.h 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, 11 Apr 2009 22:09:58 -0000 rwatson 2009-04-11 22:07:19 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/netinet tcp_hostcache.c tcp_input.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timewait.c tcp_usrreq.c tcp_var.h Log: SVN rev 190948 on 2009-04-11 22:07:19Z by rwatson Update stats in struct tcpstat using two new macros, TCPSTAT_ADD() and TCPSTAT_INC(), rather than directly manipulating the fields across the kernel. This will make it easier to change the implementation of these statistics, such as using per-CPU versions of the data structures. MFC after: 3 days Revision Changes Path 1.61 +3 -3 src/sys/contrib/pf/net/pf.c 1.30 +1 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.28 +9 -9 src/sys/netinet/tcp_hostcache.c 1.400 +54 -53 src/sys/netinet/tcp_input.c 1.160 +16 -16 src/sys/netinet/tcp_output.c 1.360 +6 -6 src/sys/netinet/tcp_reass.c 1.49 +1 -1 src/sys/netinet/tcp_sack.c 1.338 +4 -4 src/sys/netinet/tcp_subr.c 1.167 +24 -24 src/sys/netinet/tcp_syncache.c 1.108 +9 -9 src/sys/netinet/tcp_timer.c 1.300 +4 -4 src/sys/netinet/tcp_timewait.c 1.185 +2 -2 src/sys/netinet/tcp_usrreq.c 1.172 +3 -0 src/sys/netinet/tcp_var.h