aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 17:23:26 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 17:23:26 -0800
commit8b18f8eaf9207d53ba3e69f2b98d7290f4dec227 (patch)
treeb4f323ac9aa6f1956c3ad4398a2230fc7a01d3e4 /include/net/netns/xfrm.h
parentnetns xfrm: per-netns xfrm_policy_byidx hashmask (diff)
downloadlinux-dev-8b18f8eaf9207d53ba3e69f2b98d7290f4dec227.tar.xz
linux-dev-8b18f8eaf9207d53ba3e69f2b98d7290f4dec227.zip
netns xfrm: per-netns inexact policies
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/xfrm.h')
-rw-r--r--include/net/netns/xfrm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h
index 42dc318fe3de..c7568315f16c 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -4,6 +4,7 @@
#include <linux/list.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
+#include <linux/xfrm.h>
struct netns_xfrm {
struct list_head state_all;
@@ -29,6 +30,7 @@ struct netns_xfrm {
struct list_head policy_all;
struct hlist_head *policy_byidx;
unsigned int policy_idx_hmask;
+ struct hlist_head policy_inexact[XFRM_POLICY_MAX * 2];
};
#endif