Home
last modified time | relevance | path

Searched refs:xfrm_vec (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/xfrm/
Dxfrm_policy.c2313 memcpy(newp->xfrm_vec, old->xfrm_vec, in clone_policy()
2376 struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i]; in xfrm_tmpl_resolve_one()
3633 tpp[ti++] = &pols[pi]->xfrm_vec[i]; in __xfrm_policy_check()
4350 if (!migrate_tmpl_match(mp, &pol->xfrm_vec[i])) in xfrm_policy_migrate()
4353 if (pol->xfrm_vec[i].mode != XFRM_MODE_TUNNEL && in xfrm_policy_migrate()
4354 pol->xfrm_vec[i].mode != XFRM_MODE_BEET) in xfrm_policy_migrate()
4357 memcpy(&pol->xfrm_vec[i].id.daddr, &mp->new_daddr, in xfrm_policy_migrate()
4358 sizeof(pol->xfrm_vec[i].id.daddr)); in xfrm_policy_migrate()
4359 memcpy(&pol->xfrm_vec[i].saddr, &mp->new_saddr, in xfrm_policy_migrate()
4360 sizeof(pol->xfrm_vec[i].saddr)); in xfrm_policy_migrate()
[all …]
Dxfrm_user.c1690 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in copy_templates()
1934 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl()
2642 struct xfrm_tmpl *t = &xp->xfrm_vec[i]; in xfrm_add_acquire()
/linux-6.1.9/net/key/
Daf_key.c1915 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()
/linux-6.1.9/include/net/
Dxfrm.h534 struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; member