Home
last modified time | relevance | path

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

/freebsd-12.1/usr.bin/netstat/
H A Dipsec.c232 static void print_ipcompstats(const struct ipcompstat *ipcompstat);
393 print_ipcompstats(const struct ipcompstat *ipcompstat) in print_ipcompstats() argument
397 #define p(f, n, m) if (ipcompstat->f || sflag <= 1) \ in print_ipcompstats()
399 (uintmax_t)ipcompstat->f, plural(ipcompstat->f)) in print_ipcompstats()
423 hist(ipcompstat->ipcomps_hist, ipsec_compnames, in print_ipcompstats()
439 struct ipcompstat ipcompstat; in ipcomp_stats() local
441 if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat, in ipcomp_stats()
442 sizeof(ipcompstat), kread_counters) != 0) in ipcomp_stats()
447 print_ipcompstats(&ipcompstat); in ipcomp_stats()
/freebsd-12.1/sys/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.c76 VNET_PCPUSTAT_DEFINE(struct ipcompstat, ipcompstat);
77 VNET_PCPUSTAT_SYSINIT(ipcompstat);
80 VNET_PCPUSTAT_SYSUNINIT(ipcompstat);
87 struct ipcompstat, ipcompstat,