Searched refs:dst_scope (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | in6_src.c | 295 int dst_scope = -1, best_scope = -1, best_matchlen = -1; in in6_selectsrc_core() local 410 if (dst_scope < 0) { in in6_selectsrc_core() 411 dst_scope = in6_addrscope(&dst); in in6_selectsrc_core() 415 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0) { in in6_selectsrc_core() 420 if (IN6_ARE_SCOPE_CMP(new_scope, dst_scope) < 0) { in in6_selectsrc_core() 576 s_src, ifp1->if_xname, best_scope, new_scope, dst_scope); in in6_selectsrc_core() 635 __func__, s_src, s_dst, dst_scope, best_scope); in in6_selectsrc_core()
|
| H A D | in6.c | 3374 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0; in in6_ifawithscope() local 3458 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0 && in in6_ifawithscope() 3459 IN6_ARE_SCOPE_CMP(src_scope, dst_scope) >= 0) { in in6_ifawithscope() 3462 if (IN6_ARE_SCOPE_CMP(src_scope, dst_scope) < 0 && in in6_ifawithscope() 3463 IN6_ARE_SCOPE_CMP(best_scope, dst_scope) >= 0) { in in6_ifawithscope() 3588 dscopecmp = IN6_ARE_SCOPE_CMP(src_scope, dst_scope); in in6_ifawithscope() 3663 if (best_scope == dst_scope) { in in6_ifawithscope() 3685 int dst_scope = in6_addrscope(dst), blen = -1, tlen; in in6_ifawithifp() local 3731 if (dst_scope == in6_addrscope(IFA_IN6(ifa))) { in in6_ifawithifp()
|