Searched refs:encap_family (Results 1 – 4 of 4) sorted by relevance
/net/xfrm/ |
D | xfrm_state.c | 905 switch (tmpl->encap_family) { in xfrm_init_tempstate() 924 x->props.family = tmpl->encap_family; in xfrm_init_tempstate() 1055 unsigned short encap_family = tmpl->encap_family; in xfrm_state_find() local 1064 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find() 1066 if (x->props.family == encap_family && in xfrm_state_find() 1071 xfrm_state_addr_check(x, daddr, saddr, encap_family) && in xfrm_state_find() 1081 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find() 1083 if (x->props.family == encap_family && in xfrm_state_find() 1088 xfrm_addr_equal(&x->id.daddr, daddr, encap_family) && in xfrm_state_find() 1101 tmpl->id.proto, encap_family)) != NULL) { in xfrm_state_find() [all …]
|
D | xfrm_policy.c | 2387 if (xfrm_addr_any(local, tmpl->encap_family)) { in xfrm_tmpl_resolve_one() 2390 tmpl->encap_family, 0); in xfrm_tmpl_resolve_one() 3233 return tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, tmpl->encap_family); in xfrm_state_ok() 4376 pol->xfrm_vec[i].encap_family = mp->new_family; in xfrm_policy_migrate()
|
D | xfrm_user.c | 1532 t->encap_family = ut->family; in copy_templates() 1752 up->family = kp->encap_family; in copy_to_user_tmpl()
|
/net/key/ |
D | af_key.c | 1986 &t->saddr, &t->id.daddr, &t->encap_family); in parse_ipsecrequest() 1990 t->encap_family = xp->family; in parse_ipsecrequest() 2042 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size() 2168 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg() 2192 t->encap_family); in pfkey_xfrm_policy2msg() 2195 t->encap_family); in pfkey_xfrm_policy2msg()
|