Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xt_rateest.h
Go to the documentation of this file.
1 #ifndef _XT_RATEEST_H
2 #define _XT_RATEEST_H
3 
4 struct xt_rateest {
5  /* keep lock and bstats on same cache line to speedup xt_rateest_tg() */
8  /* keep rstats and lock on same cache line to speedup xt_rateest_mt() */
10 
11  /* following fields not accessed in hot path */
12  struct hlist_node list;
13  char name[IFNAMSIZ];
14  unsigned int refcnt;
16  struct rcu_head rcu;
17 };
18 
19 extern struct xt_rateest *xt_rateest_lookup(const char *name);
20 extern void xt_rateest_put(struct xt_rateest *est);
21 
22 #endif /* _XT_RATEEST_H */