Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_est.c115 s->kstats.conns = kconns; in ip_vs_chain_estimation()
116 s->kstats.inpkts = kinpkts; in ip_vs_chain_estimation()
117 s->kstats.outpkts = koutpkts; in ip_vs_chain_estimation()
118 s->kstats.inbytes = kinbytes; in ip_vs_chain_estimation()
119 s->kstats.outbytes = koutbytes; in ip_vs_chain_estimation()
122 rate = (s->kstats.conns - e->last_conns) << 9; in ip_vs_chain_estimation()
123 e->last_conns = s->kstats.conns; in ip_vs_chain_estimation()
126 rate = (s->kstats.inpkts - e->last_inpkts) << 9; in ip_vs_chain_estimation()
127 e->last_inpkts = s->kstats.inpkts; in ip_vs_chain_estimation()
130 rate = (s->kstats.outpkts - e->last_outpkts) << 9; in ip_vs_chain_estimation()
[all …]
H A Dip_vs_ctl.c872 #define IP_VS_SHOW_STATS_COUNTER(c) dst->c = src->kstats.c - src->kstats0.c in ip_vs_copy_stats()
909 #define IP_VS_ZERO_STATS_COUNTER(c) stats->kstats0.c = stats->kstats.c in ip_vs_zero_stats()
2519 struct ip_vs_kstats kstats; in ip_vs_stats_percpu_show() local
2548 ip_vs_copy_stats(&kstats, tot_stats); in ip_vs_stats_percpu_show()
2551 (unsigned long long)kstats.conns, in ip_vs_stats_percpu_show()
2552 (unsigned long long)kstats.inpkts, in ip_vs_stats_percpu_show()
2553 (unsigned long long)kstats.outpkts, in ip_vs_stats_percpu_show()
2554 (unsigned long long)kstats.inbytes, in ip_vs_stats_percpu_show()
2555 (unsigned long long)kstats.outbytes); in ip_vs_stats_percpu_show()
2561 kstats.cps, in ip_vs_stats_percpu_show()
[all …]
/openbmc/linux/include/net/
H A Dip_vs.h391 struct ip_vs_kstats kstats; /* kernel statistics */ member