freebsd-skq/sys/contrib
Robert Watson 315e3e38fa Many network stack subsystems use a single global data structure to hold
all pertinent statatistics for the subsystem.  These structures are
sometimes "borrowed" by kernel modules that require a place to store
statistics for similar events.

Add KPI accessor functions for statistics structures referenced by kernel
modules so that they no longer encode certain specifics of how the data
structures are named and stored.  This change is intended to make it
easier to move to per-CPU network stats following 8.0-RELEASE.

The following modules are affected by this change:

      if_bridge
      if_cxgb
      if_gif
      ip_mroute
      ipdivert
      pf

In practice, most of these statistics consumers should, in fact, maintain
their own statistics data structures rather than borrowing structures
from the base network stack.  However, that change is too agressive for
this point in the release cycle.

Reviewed by:	bz
Approved by:	re (kib)
2009-08-02 19:43:32 +00:00
..
altq/altq Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
dev Remove build timestamps from the following files: 2009-07-11 22:30:37 +00:00
ia64/libuwx Apply local modifications to make Unwind Express BETA 10 buildable and 2006-07-07 23:56:34 +00:00
ipfilter/netinet Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
ngatm Use proper form of gnu designated initalizers. This lets 2009-06-24 12:01:10 +00:00
pf Many network stack subsystems use a single global data structure to hold 2009-08-02 19:43:32 +00:00
rdma Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00