summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorSandeep Malik <Sandeep.Malik@freescale.com>2014-02-15 14:26:15 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-13 21:13:36 (GMT)
commit1607a6134987fd152f6a5f6f92e5b3f2680ae564 (patch)
treeefe2df59180ad50ad87f7453a7c1947e1c766918 /include/net
parentaaee7afb586e2a831505435e62d431b233181b33 (diff)
downloadlinux-fsl-qoriq-1607a6134987fd152f6a5f6f92e5b3f2680ae564.tar.xz
asf_ipsec_linux: Patch to add support for multiple SPD entries mapping to single SA entry.
This patch adds the support for multiple SPD entries to map to single SA entry. CQ: ENGR00267797 Signed-off-by: Sandeep Malik <Sandeep.Malik@freescale.com> Change-Id: I2db3620f9b8262d047c1ffc847d4337e73be02f7 Reviewed-on: http://git.am.freescale.net:8181/8828 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Nipun Gupta <Nipun.Gupta@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xfrm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 8f08341..59b9a34 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1764,6 +1764,12 @@ struct asf_ipsec_callbackfn_s {
struct xfrm_state *xfrm);
};
extern struct asf_ipsec_callbackfn_s asf_cb_fns;
+struct policy_list {
+ int nr_pol;
+ struct xfrm_policy *xpol[256];
+};
+void xfrm_state_policy_mapping(struct xfrm_state *xfrm,
+ struct policy_list *pol_list);
#endif
#endif /* _NET_XFRM_H */