Home
last modified time | relevance | path

Searched refs:pfkeystat (Results 1 – 3 of 3) sorted by relevance

/NextBSD/usr.bin/netstat/
HDpfkey.c118 struct pfkeystat pfkeystat; in pfkey_stats() local
125 kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat)); in pfkey_stats()
127 #define p(f, m) if (pfkeystat.f || sflag <= 1) \ in pfkey_stats()
128 xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) in pfkey_stats()
136 type<sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]); in pfkey_stats()
138 if (pfkeystat.out_msgtype[type] <= 0) in pfkey_stats()
148 (uintmax_t)pfkeystat.out_msgtype[type]); in pfkey_stats()
179 type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]); in pfkey_stats()
181 if (pfkeystat.in_msgtype[type] <= 0) in pfkey_stats()
191 (uintmax_t)pfkeystat.in_msgtype[type]); in pfkey_stats()
/NextBSD/sys/netipsec/
HDkeysock.h37 struct pfkeystat { struct
74 VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat); argument
76 VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val))
HDkeysock.c79 VNET_PCPUSTAT_DEFINE(struct pfkeystat, pfkeystat);
80 VNET_PCPUSTAT_SYSINIT(pfkeystat);
83 VNET_PCPUSTAT_SYSUNINIT(pfkeystat);