Home
last modified time | relevance | path

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

/freebsd/usr.bin/netstat/
H A Dpfkey.c110 struct pfkeystat pfkeystat; in pfkey_stats() local
117 kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat)); in pfkey_stats()
119 #define p(f, m) if (pfkeystat.f || sflag <= 1) \ in pfkey_stats()
120 xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) in pfkey_stats()
128 type<sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]); in pfkey_stats()
130 if (pfkeystat.out_msgtype[type] <= 0) in pfkey_stats()
140 (uintmax_t)pfkeystat.out_msgtype[type]); in pfkey_stats()
171 type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]); in pfkey_stats()
173 if (pfkeystat.in_msgtype[type] <= 0) in pfkey_stats()
183 (uintmax_t)pfkeystat.in_msgtype[type]); in pfkey_stats()
/freebsd/sys/netipsec/
H A Dkeysock.h38 struct pfkeystat { struct
78 VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat); argument
80 VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val))
H A Dkeysock.c82 VNET_PCPUSTAT_DEFINE(struct pfkeystat, pfkeystat);
83 VNET_PCPUSTAT_SYSINIT(pfkeystat);
86 VNET_PCPUSTAT_SYSUNINIT(pfkeystat);