Searched refs:xfrm_user_tmpl (Results 1 – 2 of 2) sorted by relevance
1445 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates()1470 static int validate_tmpl(int nr, struct xfrm_user_tmpl *ut, u16 family) in validate_tmpl()1537 struct xfrm_user_tmpl *utmpl = nla_data(rt); in copy_from_user_tmpl()1678 struct xfrm_user_tmpl vec[XFRM_MAX_DEPTH]; in copy_to_user_tmpl()1685 struct xfrm_user_tmpl *up = &vec[i]; in copy_to_user_tmpl()1702 sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr, vec); in copy_to_user_tmpl()2248 struct xfrm_user_tmpl *ut; in xfrm_add_acquire()2551 [XFRMA_TMPL] = { .len = sizeof(struct xfrm_user_tmpl) },2901 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) in xfrm_acquire_msgsize()2972 struct xfrm_user_tmpl *ut = (struct xfrm_user_tmpl *) (p + 1); in xfrm_compile_policy()[all …]
236 struct xfrm_user_tmpl { struct