From owner-cvs-src-old@FreeBSD.ORG Sun Apr 12 11:43:27 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 0FCB31065672 for ; Sun, 12 Apr 2009 11:43:27 +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 EF9288FC08 for ; Sun, 12 Apr 2009 11:43:26 +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 n3CBhQIq034385 for ; Sun, 12 Apr 2009 11:43:26 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3CBhQ4r034384 for cvs-src-old@freebsd.org; Sun, 12 Apr 2009 11:43:26 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200904121143.n3CBhQ4r034384@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 12 Apr 2009 11:42:40 +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 udp_usrreq.c udp_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: Sun, 12 Apr 2009 11:43:27 -0000 rwatson 2009-04-12 11:42:40 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet udp_usrreq.c udp_var.h Log: SVN rev 190962 on 2009-04-12 11:42:40Z by rwatson Update stats in struct udpstat using two new macros, UDPSTAT_ADD() and UDPSTAT_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.63 +3 -3 src/sys/contrib/pf/net/pf.c 1.251 +11 -11 src/sys/netinet/udp_usrreq.c 1.36 +5 -0 src/sys/netinet/udp_var.h