]>
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; |
5859034d PM |
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 */ |