summaryrefslogtreecommitdiffstats
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
parent8100bea7d619e8496ad8e545d1b41f536e076cd5 (diff)
downloadop-kernel-dev-8b18f8eaf9207d53ba3e69f2b98d7290f4dec227.zip
op-kernel-dev-8b18f8eaf9207d53ba3e69f2b98d7290f4dec227.tar.gz
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 42dc318..c756831 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
OpenPOWER on IntegriCloud