Home
last modified time | relevance | path

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

/freebsd-14.2/usr.bin/netstat/
H A Dipsec.c222 static void print_ipcompstats(const struct ipcompstat *ipcompstat);
383 print_ipcompstats(const struct ipcompstat *ipcompstat) in print_ipcompstats() argument
387 #define p(f, n, m) if (ipcompstat->f || sflag <= 1) \ in print_ipcompstats()
389 (uintmax_t)ipcompstat->f, plural(ipcompstat->f)) in print_ipcompstats()
413 hist(ipcompstat->ipcomps_hist, ipsec_compnames, in print_ipcompstats()
429 struct ipcompstat ipcompstat; in ipcomp_stats() local
431 if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat, in ipcomp_stats()
432 sizeof(ipcompstat), kread_counters) != 0) in ipcomp_stats()
437 print_ipcompstats(&ipcompstat); in ipcomp_stats()
/freebsd-14.2/sys/netipsec/
H A Dipcomp_var.h46 struct ipcompstat { struct
71 VNET_PCPUSTAT_DECLARE(struct ipcompstat, ipcompstat); argument
74 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,