Date: Sun, 12 Apr 2009 11:42:40 +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 udp_usrreq.c udp_var.h Message-ID: <200904121143.n3CBhQ4r034384@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904121143.n3CBhQ4r034384>
