Searched refs:xfrm_vec (Results 1 – 4 of 4) sorted by relevance
2314 memcpy(newp->xfrm_vec, old->xfrm_vec, in clone_policy()2377 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; in xfrm_tmpl_resolve_one()3634 tpp[ti++] = &pols[pi]->xfrm_vec[i]; in __xfrm_policy_check()4351 if (!migrate_tmpl_match(mp, &pol->xfrm_vec[i])) in xfrm_policy_migrate()4354 if (pol->xfrm_vec[i].mode != XFRM_MODE_TUNNEL && in xfrm_policy_migrate()4355 pol->xfrm_vec[i].mode != XFRM_MODE_BEET) in xfrm_policy_migrate()4358 memcpy(&pol->xfrm_vec[i].id.daddr, &mp->new_daddr, in xfrm_policy_migrate()4359 sizeof(pol->xfrm_vec[i].id.daddr)); in xfrm_policy_migrate()4360 memcpy(&pol->xfrm_vec[i].saddr, &mp->new_saddr, in xfrm_policy_migrate()4361 sizeof(pol->xfrm_vec[i].saddr)); in xfrm_policy_migrate()[all …]
1584 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()1811 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl()2513 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in xfrm_add_acquire()
1915 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()1946 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()2033 t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg_size()2153 const struct xfrm_tmpl *t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg()
527 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; member