Symbol: ipsecstat
sys/netipsec/ipsec.c
106
VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec4stat);
sys/netipsec/ipsec.c
223
SYSCTL_VNET_PCPUSTAT(_net_inet_ipsec, OID_AUTO, ipsecstats, struct ipsecstat,
sys/netipsec/ipsec.c
246
VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec6stat);
sys/netipsec/ipsec.c
286
struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
sys/netipsec/ipsec.h
289
VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec4stat);
sys/netipsec/ipsec.h
305
VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec4stat, name, 1); \
sys/netipsec/ipsec6.h
47
VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec6stat);
sys/netipsec/ipsec6.h
55
VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
tools/tools/crypto/ipsecstats.c
89
struct ipsecstat ips;
usr.bin/netstat/ipsec.c
149
print_ipsecstats(const char *tag, const struct ipsecstat *ipsecstat)
usr.bin/netstat/ipsec.c
153
#define p(f, m) if (ipsecstat->f || sflag <= 1) \
usr.bin/netstat/ipsec.c
154
xo_emit(m, (uintmax_t)ipsecstat->f, plural(ipsecstat->f))
usr.bin/netstat/ipsec.c
155
#define p2(f, m) if (ipsecstat->f || sflag <= 1) \
usr.bin/netstat/ipsec.c
156
xo_emit(m, (uintmax_t)ipsecstat->f, plurales(ipsecstat->f))
usr.bin/netstat/ipsec.c
192
struct ipsecstat ipsecstat;
usr.bin/netstat/ipsec.c
196
if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat,
usr.bin/netstat/ipsec.c
197
sizeof(ipsecstat), kread_counters) != 0)
usr.bin/netstat/ipsec.c
201
if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat,
usr.bin/netstat/ipsec.c
202
sizeof(ipsecstat), kread_counters) != 0)
usr.bin/netstat/ipsec.c
209
print_ipsecstats(tag, &ipsecstat);