Searched refs:ipsecstat (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.bin/netstat/ |
H A D | ipsec.c | 149 print_ipsecstats(const char *tag, const struct ipsecstat *ipsecstat) in print_ipsecstats() argument 153 #define p(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats() 154 xo_emit(m, (uintmax_t)ipsecstat->f, plural(ipsecstat->f)) in print_ipsecstats() 155 #define p2(f, m) if (ipsecstat->f || sflag <= 1) \ in print_ipsecstats() 156 xo_emit(m, (uintmax_t)ipsecstat->f, plurales(ipsecstat->f)) in print_ipsecstats() 192 struct ipsecstat ipsecstat; in ipsec_stats() local 196 if (fetch_stats("net.inet6.ipsec6.ipsecstats", off,&ipsecstat, in ipsec_stats() 197 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats() 201 if (fetch_stats("net.inet.ipsec.ipsecstats", off, &ipsecstat, in ipsec_stats() 202 sizeof(ipsecstat), kread_counters) != 0) in ipsec_stats() [all …]
|
/freebsd/sys/netipsec/ |
H A D | ipsec6.h | 47 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec6stat); 55 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
|
H A D | ipsec.h | 218 struct ipsecstat { struct 289 VNET_PCPUSTAT_DECLARE(struct ipsecstat, ipsec4stat); 305 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec4stat, name, 1); \
|
H A D | ipsec.c | 106 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec4stat); 223 SYSCTL_VNET_PCPUSTAT(_net_inet_ipsec, OID_AUTO, ipsecstats, struct ipsecstat, 246 VNET_PCPUSTAT_DEFINE(struct ipsecstat, ipsec6stat); 286 struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
|
/freebsd/tools/tools/crypto/ |
H A D | ipsecstats.c | 89 struct ipsecstat ips; in main()
|