diff options
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/xfrm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index c7568315f16c..39cfa799fa90 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h | |||
@@ -6,6 +6,11 @@ | |||
6 | #include <linux/workqueue.h> | 6 | #include <linux/workqueue.h> |
7 | #include <linux/xfrm.h> | 7 | #include <linux/xfrm.h> |
8 | 8 | ||
9 | struct xfrm_policy_hash { | ||
10 | struct hlist_head *table; | ||
11 | unsigned int hmask; | ||
12 | }; | ||
13 | |||
9 | struct netns_xfrm { | 14 | struct netns_xfrm { |
10 | struct list_head state_all; | 15 | struct list_head state_all; |
11 | /* | 16 | /* |
@@ -31,6 +36,7 @@ struct netns_xfrm { | |||
31 | struct hlist_head *policy_byidx; | 36 | struct hlist_head *policy_byidx; |
32 | unsigned int policy_idx_hmask; | 37 | unsigned int policy_idx_hmask; |
33 | struct hlist_head policy_inexact[XFRM_POLICY_MAX * 2]; | 38 | struct hlist_head policy_inexact[XFRM_POLICY_MAX * 2]; |
39 | struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX * 2]; | ||
34 | }; | 40 | }; |
35 | 41 | ||
36 | #endif | 42 | #endif |