Home
last modified time | relevance | path

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

/freebsd-9-stable/usr.bin/netstat/
Dpfkey.c116 struct pfkeystat pfkeystat; in pfkey_stats() local
122 kread(off, (char *)&pfkeystat, sizeof(pfkeystat)); in pfkey_stats()
124 #define p(f, m) if (pfkeystat.f || sflag <= 1) \ in pfkey_stats()
125 printf(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) in pfkey_stats()
131 type < sizeof(pfkeystat.out_msgtype)/sizeof(pfkeystat.out_msgtype[0]); in pfkey_stats()
133 if (pfkeystat.out_msgtype[type] <= 0) in pfkey_stats()
140 (uintmax_t)pfkeystat.out_msgtype[type]); in pfkey_stats()
156 type < sizeof(pfkeystat.in_msgtype)/sizeof(pfkeystat.in_msgtype[0]); in pfkey_stats()
158 if (pfkeystat.in_msgtype[type] <= 0) in pfkey_stats()
165 (uintmax_t)pfkeystat.in_msgtype[type]); in pfkey_stats()
/freebsd-9-stable/sys/netipsec/
Dkeysock.h37 struct pfkeystat { struct
72 VNET_DECLARE(struct pfkeystat, pfkeystat); argument
75 #define V_pfkeystat VNET(pfkeystat)
Dkeysock.c80 VNET_DEFINE(struct pfkeystat, pfkeystat);