Searched refs:encap_family (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/net/xfrm/ |
D | xfrm_state.c | 665 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 …]
|
D | xfrm_policy.c | 1190 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()
|
D | xfrm_user.c | 1209 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/ |
D | af_key.c | 1909 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/ |
D | xfrm.h | 460 unsigned short encap_family; member
|