Home
last modified time | relevance | path

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

/linux-2.6.39/net/xfrm/
Dxfrm_state.c665 if (family != tmpl->encap_family) { in xfrm_init_tempstate()
667 afinfo = xfrm_state_get_afinfo(tmpl->encap_family); in xfrm_init_tempstate()
802 unsigned short encap_family = tmpl->encap_family; in xfrm_state_find() local
807 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find()
809 if (x->props.family == encap_family && in xfrm_state_find()
813 xfrm_state_addr_check(x, daddr, saddr, encap_family) && in xfrm_state_find()
817 xfrm_state_look_at(pol, x, fl, encap_family, in xfrm_state_find()
823 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find()
825 if (x->props.family == encap_family && in xfrm_state_find()
829 xfrm_state_addr_check(x, daddr, saddr, encap_family) && in xfrm_state_find()
[all …]
Dxfrm_policy.c1190 if (xfrm_addr_any(local, tmpl->encap_family)) { in xfrm_tmpl_resolve_one()
1191 error = xfrm_get_saddr(net, &tmp, remote, tmpl->encap_family); in xfrm_tmpl_resolve_one()
1960 return tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, tmpl->encap_family); in xfrm_state_ok()
2861 pol->xfrm_vec[i].encap_family = mp->new_family; in xfrm_policy_migrate()
Dxfrm_user.c1209 t->encap_family = ut->family; in copy_templates()
1405 up->family = kp->encap_family; in copy_to_user_tmpl()
/linux-2.6.39/net/key/
Daf_key.c1909 t->encap_family = family; in parse_ipsecrequest()
1911 t->encap_family = xp->family; in parse_ipsecrequest()
1956 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2086 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2110 t->encap_family); in pfkey_xfrm_policy2msg()
2113 t->encap_family); in pfkey_xfrm_policy2msg()
/linux-2.6.39/include/net/
Dxfrm.h460 unsigned short encap_family; member