Home
last modified time | relevance | path

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

/freebsd-11-stable/usr.bin/netstat/
HDpfkey.c117 struct pfkeystat pfkeystat; in pfkey_stats() local
124 kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat)); in pfkey_stats()
126 #define p(f, m) if (pfkeystat.f || sflag <= 1) \ in pfkey_stats()
127 xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) in pfkey_stats()
135 type<sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]); in pfkey_stats()
137 if (pfkeystat.out_msgtype[type] <= 0) in pfkey_stats()
147 (uintmax_t)pfkeystat.out_msgtype[type]); in pfkey_stats()
178 type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]); in pfkey_stats()
180 if (pfkeystat.in_msgtype[type] <= 0) in pfkey_stats()
190 (uintmax_t)pfkeystat.in_msgtype[type]); in pfkey_stats()
/freebsd-11-stable/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);