Home
last modified time | relevance | path

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

/f-stack/tools/netstat/
H A Dpfkey.c119 struct pfkeystat pfkeystat; in pfkey_stats() local
126 kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat)); in pfkey_stats()
128 #define p(f, m) if (pfkeystat.f || sflag <= 1) \ in pfkey_stats()
129 xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) in pfkey_stats()
137 type<sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]); in pfkey_stats()
139 if (pfkeystat.out_msgtype[type] <= 0) in pfkey_stats()
149 (uintmax_t)pfkeystat.out_msgtype[type]); in pfkey_stats()
180 type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]); in pfkey_stats()
182 if (pfkeystat.in_msgtype[type] <= 0) in pfkey_stats()
192 (uintmax_t)pfkeystat.in_msgtype[type]); in pfkey_stats()
/f-stack/freebsd/netipsec/
H A Dkeysock.h39 struct pfkeystat { struct
76 VNET_PCPUSTAT_DECLARE(struct pfkeystat, pfkeystat); argument
78 VNET_PCPUSTAT_ADD(struct pfkeystat, pfkeystat, name, (val))
H A Dkeysock.c81 VNET_PCPUSTAT_DEFINE(struct pfkeystat, pfkeystat);
82 VNET_PCPUSTAT_SYSINIT(pfkeystat);
85 VNET_PCPUSTAT_SYSUNINIT(pfkeystat);