Home
last modified time | relevance | path

Searched refs:encap_family (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c907 switch (tmpl->encap_family) { in xfrm_init_tempstate()
926 x->props.family = tmpl->encap_family; in xfrm_init_tempstate()
1057 unsigned short encap_family = tmpl->encap_family; in xfrm_state_find() local
1066 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find()
1068 if (x->props.family == encap_family && in xfrm_state_find()
1073 xfrm_state_addr_check(x, daddr, saddr, encap_family) && in xfrm_state_find()
1083 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find()
1085 if (x->props.family == encap_family && in xfrm_state_find()
1090 xfrm_addr_equal(&x->id.daddr, daddr, encap_family) && in xfrm_state_find()
1103 tmpl->id.proto, encap_family)) != NULL) { in xfrm_state_find()
[all …]
Dxfrm_policy.c2385 if (xfrm_addr_any(local, tmpl->encap_family)) { in xfrm_tmpl_resolve_one()
2388 tmpl->encap_family, 0); in xfrm_tmpl_resolve_one()
3241 return tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, tmpl->encap_family); in xfrm_state_ok()
4384 pol->xfrm_vec[i].encap_family = mp->new_family; in xfrm_policy_migrate()
Dxfrm_user.c1546 t->encap_family = ut->family; in copy_templates()
1768 up->family = kp->encap_family; in copy_to_user_tmpl()
/kernel/linux/linux-5.10/net/key/
Daf_key.c1982 &t->saddr, &t->id.daddr, &t->encap_family); in parse_ipsecrequest()
1986 t->encap_family = xp->family; in parse_ipsecrequest()
2038 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2164 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2188 t->encap_family); in pfkey_xfrm_policy2msg()
2191 t->encap_family); in pfkey_xfrm_policy2msg()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h461 unsigned short encap_family; member