Linux 4.8.3
[linux/fpc-iii.git] / include / net / flowcache.h
blobc8f665ec6e0d3d5249a7dd48dcaee41cb9b895dc
1 #ifndef _NET_FLOWCACHE_H
2 #define _NET_FLOWCACHE_H
4 #include <linux/interrupt.h>
5 #include <linux/types.h>
6 #include <linux/timer.h>
7 #include <linux/notifier.h>
9 struct flow_cache_percpu {
10 struct hlist_head *hash_table;
11 int hash_count;
12 u32 hash_rnd;
13 int hash_rnd_recalc;
14 struct tasklet_struct flush_tasklet;
17 struct flow_cache {
18 u32 hash_shift;
19 struct flow_cache_percpu __percpu *percpu;
20 struct notifier_block hotcpu_notifier;
21 int low_watermark;
22 int high_watermark;
23 struct timer_list rnd_timer;
25 #endif /* _NET_FLOWCACHE_H */