]>
Commit | Line | Data |
---|---|---|
5859034d PM |
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; | |
c1a8f1f1 | 11 | struct gnet_stats_basic_packed bstats; |
c7de2cf0 | 12 | struct rcu_head rcu; |
5859034d PM |
13 | }; |
14 | ||
15 | extern struct xt_rateest *xt_rateest_lookup(const char *name); | |
16 | extern void xt_rateest_put(struct xt_rateest *est); | |
17 | ||
18 | #endif /* _XT_RATEEST_H */ |