Merge branch 'proc' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc
[linux-2.6] / include / net / netfilter / xt_rateest.h
1 #ifndef _XT_RATEEST_H
2 #define _XT_RATEEST_H
3
4 struct 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;
11         struct gnet_stats_basic         bstats;
12 };
13
14 extern struct xt_rateest *xt_rateest_lookup(const char *name);
15 extern void xt_rateest_put(struct xt_rateest *est);
16
17 #endif /* _XT_RATEEST_H */