Date: Sun, 12 Apr 2009 13:22:33 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/netinet icmp6.h icmp_var.h ip_icmp.c src/sys/netinet6 icmp6.c mld6.c nd6.c nd6_nbr.c nd6_rtr.c raw_ip6.c Message-ID: <200904121323.n3CDNmhd054303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-04-12 13:22:33 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet icmp6.h icmp_var.h ip_icmp.c sys/netinet6 icmp6.c mld6.c nd6.c nd6_nbr.c nd6_rtr.c raw_ip6.c Log: SVN rev 190964 on 2009-04-12 13:22:33Z by rwatson Update stats in struct icmpstat and icmp6stat using four new macros: ICMPSTAT_ADD(), ICMPSTAT_INC(), ICMP6STAT_ADD(), and ICMP6STAT_INC(), rather than directly manipulating the fields of these structures 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. In on case, icmp6stat members are manipulated indirectly, by icmp6_errcount(), and this will require further work to fix for per-CPU stats. MFC after: 3 days Revision Changes Path 1.64 +4 -4 src/sys/contrib/pf/net/pf.c 1.23 +5 -0 src/sys/netinet/icmp6.h 1.28 +5 -0 src/sys/netinet/icmp_var.h 1.130 +17 -17 src/sys/netinet/ip_icmp.c 1.103 +27 -27 src/sys/netinet6/icmp6.c 1.41 +2 -2 src/sys/netinet6/mld6.c 1.107 +2 -2 src/sys/netinet6/nd6.c 1.62 +6 -6 src/sys/netinet6/nd6_nbr.c 1.61 +4 -4 src/sys/netinet6/nd6_rtr.c 1.102 +1 -1 src/sys/netinet6/raw_ip6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904121323.n3CDNmhd054303>