pfkeystat
VNET_PCPUSTAT_DEFINE(struct pfkeystat, pfkeystat);
VNET_PCPUSTAT_SYSINIT(pfkeystat);
VNET_PCPUSTAT_SYSUNINIT(pfkeystat);
VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat);
VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val))
struct pfkeystat pfkeystat;
kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat));
#define p(f, m) if (pfkeystat.f || sflag <= 1) \
xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f))
type<sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]);
if (pfkeystat.out_msgtype[type] <= 0)
(uintmax_t)pfkeystat.out_msgtype[type]);
type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]);
if (pfkeystat.in_msgtype[type] <= 0)
(uintmax_t)pfkeystat.in_msgtype[type]);