Home
last modified time | relevance | path

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

/linux-6.1.9/net/xfrm/
Dxfrm_state.c932 switch (tmpl->encap_family) { in xfrm_init_tempstate()
951 x->props.family = tmpl->encap_family; in xfrm_init_tempstate()
1084 unsigned short encap_family = tmpl->encap_family; in xfrm_state_find() local
1093 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find()
1095 if (x->props.family == encap_family && in xfrm_state_find()
1100 xfrm_state_addr_check(x, daddr, saddr, encap_family) && in xfrm_state_find()
1110 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find()
1112 if (x->props.family == encap_family && in xfrm_state_find()
1117 xfrm_addr_equal(&x->id.daddr, daddr, encap_family) && in xfrm_state_find()
1130 tmpl->id.proto, encap_family)) != NULL) { in xfrm_state_find()
[all …]
Dxfrm_policy.c2382 if (xfrm_addr_any(local, tmpl->encap_family)) { in xfrm_tmpl_resolve_one()
2385 tmpl->encap_family, 0); in xfrm_tmpl_resolve_one()
3243 return tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, tmpl->encap_family); in xfrm_state_ok()
4361 pol->xfrm_vec[i].encap_family = mp->new_family; in xfrm_policy_migrate()
Dxfrm_user.c1704 t->encap_family = ut->family; in copy_templates()
1938 up->family = kp->encap_family; in copy_to_user_tmpl()
/linux-6.1.9/net/key/
Daf_key.c1978 &t->saddr, &t->id.daddr, &t->encap_family); in parse_ipsecrequest()
1982 t->encap_family = xp->family; in parse_ipsecrequest()
2034 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2160 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2184 t->encap_family); in pfkey_xfrm_policy2msg()
2187 t->encap_family); in pfkey_xfrm_policy2msg()
/linux-6.1.9/include/net/
Dxfrm.h464 unsigned short encap_family; member