From owner-cvs-src-old@FreeBSD.ORG Sun Apr 12 14:19:47 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 8DE1C1065768 for ; Sun, 12 Apr 2009 14:19:47 +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 7A1668FC16 for ; Sun, 12 Apr 2009 14:19:47 +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 n3CEJl9n059937 for ; Sun, 12 Apr 2009 14:19:47 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3CEJl9L059936 for cvs-src-old@freebsd.org; Sun, 12 Apr 2009 14:19:47 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200904121419.n3CEJl9L059936@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 14:19:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_carp.c ip_carp.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 14:19:48 -0000 rwatson 2009-04-12 14:19:37 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c ip_carp.h Log: SVN rev 190968 on 2009-04-12 14:19:37Z by rwatson Update stats in struct carpstats using two new macros: CARPSTATS_ADD() and CARPSTATS_INC(), rather than directly manipulating the fields of the structure. This will make it easier to change the implementation of these statistics, such as using per-CPU versions of the data structure. MFC after: 3 days Revision Changes Path 1.62 +20 -20 src/sys/netinet/ip_carp.c 1.4 +5 -0 src/sys/netinet/ip_carp.h