4 #include <net/gen_stats.h>
7 /* keep lock and bstats on same cache line to speedup xt_rateest_tg() */
8 struct gnet_stats_basic_packed bstats;
12 /* following fields not accessed in hot path */
14 struct hlist_node list;
16 struct gnet_estimator params;
19 /* keep this field far away to speedup xt_rateest_mt() */
20 struct net_rate_estimator __rcu *rate_est;
23 struct xt_rateest *xt_rateest_lookup(const char *name);
24 void xt_rateest_put(struct xt_rateest *est);
26 #endif /* _XT_RATEEST_H */