Searched refs:xfrm_vec (Results 1 – 4 of 4) sorted by relevance
2316 memcpy(newp->xfrm_vec, old->xfrm_vec, in clone_policy()2379 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; in xfrm_tmpl_resolve_one()3676 tpp[ti++] = &pols[pi]->xfrm_vec[i]; in __xfrm_policy_check()4396 if (!migrate_tmpl_match(mp, &pol->xfrm_vec[i])) in xfrm_policy_migrate()4399 if (pol->xfrm_vec[i].mode != XFRM_MODE_TUNNEL && in xfrm_policy_migrate()4400 pol->xfrm_vec[i].mode != XFRM_MODE_BEET) in xfrm_policy_migrate()4403 memcpy(&pol->xfrm_vec[i].id.daddr, &mp->new_daddr, in xfrm_policy_migrate()4404 sizeof(pol->xfrm_vec[i].id.daddr)); in xfrm_policy_migrate()4405 memcpy(&pol->xfrm_vec[i].saddr, &mp->new_saddr, in xfrm_policy_migrate()4406 sizeof(pol->xfrm_vec[i].saddr)); in xfrm_policy_migrate()[all …]
1531 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()1758 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl()2460 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in xfrm_add_acquire()
1919 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()1950 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr; in parse_ipsecrequest()2037 t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg_size()2157 const struct xfrm_tmpl *t = xp->xfrm_vec + i; in pfkey_xfrm_policy2msg()
531 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; member