]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/net/netfilter/xt_rateest.h
pkt_sched: gen_kill_estimator() rcu fixes
[net-next-2.6.git] / include / net / netfilter / xt_rateest.h
CommitLineData
5859034d
PM
1#ifndef _XT_RATEEST_H
2#define _XT_RATEEST_H
3
4struct xt_rateest {
5 struct hlist_node list;
6 char name[IFNAMSIZ];
7 unsigned int refcnt;
8 spinlock_t lock;
9 struct gnet_estimator params;
10 struct gnet_stats_rate_est rstats;
c1a8f1f1 11 struct gnet_stats_basic_packed bstats;
c7de2cf0 12 struct rcu_head rcu;
5859034d
PM
13};
14
15extern struct xt_rateest *xt_rateest_lookup(const char *name);
16extern void xt_rateest_put(struct xt_rateest *est);
17
18#endif /* _XT_RATEEST_H */