Home
last modified time | relevance | path

Searched refs:ipsecstat (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/usr.bin/netstat/
H A Dipsec.c156 print_ipsecstats(const char *tag, const struct ipsecstat *ipsecstat) in print_ipsecstats() argument
160 #define p(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats()
161 xo_emit(m, (uintmax_t)ipsecstat->f, plural(ipsecstat->f)) in print_ipsecstats()
162 #define p2(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats()
163 xo_emit(m, (uintmax_t)ipsecstat->f, plurales(ipsecstat->f)) in print_ipsecstats()
199 struct ipsecstat ipsecstat; in ipsec_stats() local
203 if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat, in ipsec_stats()
204 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats()
208 if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat, in ipsec_stats()
209 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats()
[all …]
/freebsd-14.2/sys/netipsec/
H A Dipsec6.h47 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec6stat);
55 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
H A Dipsec.h204 struct ipsecstat { struct
274 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec4stat);
287 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec4stat, name, 1)
H A Dipsec.c105 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec4stat);
220 SYSCTL_VNET_PCPUSTAT(_net_inet_ipsec, OID_AUTO, ipsecstats, struct ipsecstat,
243 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec6stat);
285 struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
/freebsd-14.2/tools/tools/crypto/
H A Dipsecstats.c89 struct ipsecstat ips; in main()