Home
last modified time | relevance | path

Searched refs:ip_vs_stats (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_est.c48 struct ip_vs_stats *stats;
71 struct ip_vs_stats *s; in estimation_timer()
119 int ip_vs_new_estimator(struct ip_vs_stats *stats) in ip_vs_new_estimator()
157 void ip_vs_kill_estimator(struct ip_vs_stats *stats) in ip_vs_kill_estimator()
178 void ip_vs_zero_estimator(struct ip_vs_stats *stats) in ip_vs_zero_estimator()
Dip_vs_ctl.c655 __ip_vs_zero_stats(struct ip_vs_stats *stats) in __ip_vs_zero_stats()
1335 __ip_vs_zero_stats(&ip_vs_stats); in ip_vs_zero_all()
1611 struct ip_vs_stats ip_vs_stats; variable
1627 spin_lock_bh(&ip_vs_stats.lock); in ip_vs_stats_get_info()
1629 ip_vs_stats.conns, in ip_vs_stats_get_info()
1630 ip_vs_stats.inpkts, in ip_vs_stats_get_info()
1631 ip_vs_stats.outpkts, in ip_vs_stats_get_info()
1632 (__u32)(ip_vs_stats.inbytes>>32), in ip_vs_stats_get_info()
1633 (__u32)ip_vs_stats.inbytes, in ip_vs_stats_get_info()
1634 (__u32)(ip_vs_stats.outbytes>>32), in ip_vs_stats_get_info()
[all …]
Dip_vs_core.c101 spin_lock(&ip_vs_stats.lock); in ip_vs_in_stats()
102 ip_vs_stats.inpkts++; in ip_vs_in_stats()
103 ip_vs_stats.inbytes += skb->len; in ip_vs_in_stats()
104 spin_unlock(&ip_vs_stats.lock); in ip_vs_in_stats()
124 spin_lock(&ip_vs_stats.lock); in ip_vs_out_stats()
125 ip_vs_stats.outpkts++; in ip_vs_out_stats()
126 ip_vs_stats.outbytes += skb->len; in ip_vs_out_stats()
127 spin_unlock(&ip_vs_stats.lock); in ip_vs_out_stats()
143 spin_lock(&ip_vs_stats.lock); in ip_vs_conn_stats()
144 ip_vs_stats.conns++; in ip_vs_conn_stats()
[all …]
/linux-2.4.37.9/include/net/
Dip_vs.h384 struct ip_vs_stats struct
467 struct ip_vs_stats stats; /* statistics for the service */
492 struct ip_vs_stats stats; /* statistics */
712 extern struct ip_vs_stats ip_vs_stats;
744 extern int ip_vs_new_estimator(struct ip_vs_stats *stats);
745 extern void ip_vs_kill_estimator(struct ip_vs_stats *stats);
746 extern void ip_vs_zero_estimator(struct ip_vs_stats *stats);