Home
last modified time | relevance | path

Searched refs:ipcompstat (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netipsec/
H A Dipcomp_var.h47 struct ipcompstat { struct
72 VNET_PCPUSTAT_DECLARE(struct ipcompstat, ipcompstat); argument
75 VNET_PCPUSTAT_ADD(struct ipcompstat, ipcompstat, name, (val))
H A Dxform_ipcomp.c79 VNET_PCPUSTAT_DEFINE(struct ipcompstat, ipcompstat);
80 VNET_PCPUSTAT_SYSINIT(ipcompstat);
83 VNET_PCPUSTAT_SYSUNINIT(ipcompstat);
90 struct ipcompstat, ipcompstat,
/f-stack/tools/netstat/
H A Dipsec.c223 static void print_ipcompstats(const struct ipcompstat *ipcompstat);
384 print_ipcompstats(const struct ipcompstat *ipcompstat) in print_ipcompstats() argument
388 #define p(f, n, m) if (ipcompstat->f || sflag <= 1) \ in print_ipcompstats()
390 (uintmax_t)ipcompstat->f, plural(ipcompstat->f)) in print_ipcompstats()
414 hist(ipcompstat->ipcomps_hist, ipsec_compnames, in print_ipcompstats()
430 struct ipcompstat ipcompstat; in ipcomp_stats() local
432 if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat, in ipcomp_stats()
433 sizeof(ipcompstat), kread_counters) != 0) in ipcomp_stats()
438 print_ipcompstats(&ipcompstat); in ipcomp_stats()