Searched refs:ipcompstat (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/netipsec/ |
H A D | ipcomp_var.h | 46 struct ipcompstat { struct 72 VNET_PCPUSTAT_DECLARE(struct ipcompstat, ipcompstat); argument 77 VNET_PCPUSTAT_ADD(struct ipcompstat, ipcompstat, name, (val)); \ 82 VNET_PCPUSTAT_ADD(struct ipcompstat, ipcompstat, name[type], \
|
H A D | xform_ipcomp.c | 79 VNET_PCPUSTAT_DEFINE(struct ipcompstat, ipcompstat); 80 VNET_PCPUSTAT_SYSINIT(ipcompstat); 83 VNET_PCPUSTAT_SYSUNINIT(ipcompstat); 90 struct ipcompstat, ipcompstat,
|
/freebsd/usr.bin/netstat/ |
H A D | ipsec.c | 215 static void print_ipcompstats(const struct ipcompstat *ipcompstat); 376 print_ipcompstats(const struct ipcompstat *ipcompstat) in print_ipcompstats() argument 380 #define p(f, n, m) if (ipcompstat->f || sflag <= 1) \ in print_ipcompstats() 382 (uintmax_t)ipcompstat->f, plural(ipcompstat->f)) in print_ipcompstats() 406 hist(ipcompstat->ipcomps_hist, ipsec_compnames, in print_ipcompstats() 422 struct ipcompstat ipcompstat; in ipcomp_stats() local 424 if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat, in ipcomp_stats() 425 sizeof(ipcompstat), kread_counters) != 0) in ipcomp_stats() 430 print_ipcompstats(&ipcompstat); in ipcomp_stats()
|