Lines Matching refs:xfrm_policy
1744 static int copy_from_user_sec_ctx(struct xfrm_policy *pol, struct nlattr **attrs)
1756 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut,
1848 static int copy_from_user_tmpl(struct xfrm_policy *pol, struct nlattr **attrs,
1890 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p)
1902 static void copy_to_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p, int dir)
1917 static struct xfrm_policy *xfrm_policy_construct(struct net *net,
1923 struct xfrm_policy *xp = xfrm_policy_alloc(net, GFP_KERNEL);
1970 struct xfrm_policy *xp;
2012 static int copy_to_user_tmpl(struct xfrm_policy *xp, struct sk_buff *skb)
2049 static inline int copy_to_user_sec_ctx(struct xfrm_policy *xp, struct sk_buff *skb)
2083 static int dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr)
2167 struct xfrm_policy *xp,
2286 struct xfrm_policy *xp;
2602 struct xfrm_policy *xp;
2707 struct xfrm_policy *xp;
3411 struct xfrm_policy *xp)
3421 struct xfrm_tmpl *xt, struct xfrm_policy *xp)
3463 struct xfrm_policy *xp)
3482 static struct xfrm_policy *xfrm_compile_policy(struct sock *sk, int opt,
3488 struct xfrm_policy *xp;
3539 static inline unsigned int xfrm_polexpire_msgsize(struct xfrm_policy *xp)
3548 static int build_polexpire(struct sk_buff *skb, struct xfrm_policy *xp,
3583 static int xfrm_exp_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c)
3599 static int xfrm_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c)
3698 static int xfrm_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c)