summaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/xfrm.h')
-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 */