aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_frag.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_frag.h')
-rw-r--r--include/net/inet_frag.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h
index de4135925490..1917fbeb362b 100644
--- a/include/net/inet_frag.h
+++ b/include/net/inet_frag.h
@@ -31,18 +31,14 @@ struct inet_frag_queue {
31 31
32#define INETFRAGS_HASHSZ 64 32#define INETFRAGS_HASHSZ 64
33 33
34struct inet_frags_ctl {
35 int secret_interval;
36};
37
38struct inet_frags { 34struct inet_frags {
39 struct list_head lru_list; 35 struct list_head lru_list;
40 struct hlist_head hash[INETFRAGS_HASHSZ]; 36 struct hlist_head hash[INETFRAGS_HASHSZ];
41 rwlock_t lock; 37 rwlock_t lock;
42 u32 rnd; 38 u32 rnd;
43 int qsize; 39 int qsize;
40 int secret_interval;
44 struct timer_list secret_timer; 41 struct timer_list secret_timer;
45 struct inet_frags_ctl *ctl;
46 42
47 unsigned int (*hashfn)(struct inet_frag_queue *); 43 unsigned int (*hashfn)(struct inet_frag_queue *);
48 void (*constructor)(struct inet_frag_queue *q, 44 void (*constructor)(struct inet_frag_queue *q,