Searched refs:xfrm_user_tmpl (Results 1 – 4 of 4) sorted by relevance
1562 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates()1587 static int validate_tmpl(int nr, struct xfrm_user_tmpl *ut, u16 family) in validate_tmpl()1647 struct xfrm_user_tmpl *utmpl = nla_data(rt); in copy_from_user_tmpl()1788 struct xfrm_user_tmpl vec[XFRM_MAX_DEPTH]; in copy_to_user_tmpl()1795 struct xfrm_user_tmpl *up = &vec[i]; in copy_to_user_tmpl()1812 sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr, vec); in copy_to_user_tmpl()2471 struct xfrm_user_tmpl *ut; in xfrm_add_acquire()2780 [XFRMA_TMPL] = { .len = sizeof(struct xfrm_user_tmpl) },3162 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) in xfrm_acquire_msgsize()3233 struct xfrm_user_tmpl *ut = (struct xfrm_user_tmpl *) (p + 1); in xfrm_compile_policy()[all …]
109 [XFRMA_TMPL] = { .len = sizeof(struct xfrm_user_tmpl) },
241 struct xfrm_user_tmpl { struct
1120 struct xfrm_user_tmpl tmpl; in xfrm_policy_add()1389 struct xfrm_user_tmpl xfrm_tmpl = {}; in xfrm_monitor_acquire()