Searched refs:ipsecstat (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12-stable/usr.bin/netstat/ |
| D | ipsec.c | 166 static void print_ipsecstats(const struct ipsecstat *ipsecstat); 169 print_ipsecstats(const struct ipsecstat *ipsecstat) in print_ipsecstats() argument 173 #define p(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats() 174 xo_emit(m, (uintmax_t)ipsecstat->f, plural(ipsecstat->f)) in print_ipsecstats() 175 #define p2(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats() 176 xo_emit(m, (uintmax_t)ipsecstat->f, plurales(ipsecstat->f)) in print_ipsecstats() 212 struct ipsecstat ipsecstat; in ipsec_stats() local 215 if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat, in ipsec_stats() 216 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats() 219 if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat, in ipsec_stats() [all …]
|
| /freebsd-12-stable/sys/netipsec/ |
| D | ipsec6.h | 48 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec6stat); 56 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
|
| D | ipsec.h | 205 struct ipsecstat { struct 274 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec4stat); 288 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec4stat, name, 1)
|
| D | ipsec.c | 106 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec4stat); 216 SYSCTL_VNET_PCPUSTAT(_net_inet_ipsec, OID_AUTO, ipsecstats, struct ipsecstat, 244 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec6stat); 285 struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
|
| /freebsd-12-stable/tools/tools/crypto/ |
| D | ipsecstats.c | 91 struct ipsecstat ips; in main()
|