Home
last modified time | relevance | path

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

/f-stack/tools/netstat/
H A Dipsec.c157 static void print_ipsecstats(const struct ipsecstat *ipsecstat);
160 print_ipsecstats(const struct ipsecstat *ipsecstat) in print_ipsecstats() argument
164 #define p(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats()
165 xo_emit(m, (uintmax_t)ipsecstat->f, plural(ipsecstat->f)) in print_ipsecstats()
166 #define p2(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats()
167 xo_emit(m, (uintmax_t)ipsecstat->f, plurales(ipsecstat->f)) in print_ipsecstats()
203 struct ipsecstat ipsecstat; in ipsec_stats() local
207 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats()
210 if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat, in ipsec_stats()
211 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats()
[all …]
/f-stack/freebsd/netipsec/
H A Dipsec6.h48 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec6stat);
56 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
H A Dipsec.h205 struct ipsecstat { struct
274 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec4stat);
286 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec4stat, name, 1)
H A Dipsec.c106 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec4stat);
217 SYSCTL_VNET_PCPUSTAT(_net_inet_ipsec, OID_AUTO, ipsecstats, struct ipsecstat,
240 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec6stat);
282 struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");