Home
last modified time | relevance | path

Searched refs:dst_scope (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/netinet6/
H A Din6_src.c285 int dst_scope = -1, best_scope = -1, best_matchlen = -1; in in6_selectsrc_core() local
424 if (dst_scope < 0) { in in6_selectsrc_core()
425 dst_scope = in6_addrscope(&dst); in in6_selectsrc_core()
429 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0) { in in6_selectsrc_core()
434 if (IN6_ARE_SCOPE_CMP(new_scope, dst_scope) < 0) { in in6_selectsrc_core()
659 s_src, ifp1->if_xname, best_scope, new_scope, dst_scope); in in6_selectsrc_core()
718 s_src, s_dst, dst_scope, best_scope); in in6_selectsrc_core()
H A Din6.c3419 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0; in in6_ifawithscope() local
3503 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0 && in in6_ifawithscope()
3504 IN6_ARE_SCOPE_CMP(src_scope, dst_scope) >= 0) { in in6_ifawithscope()
3507 if (IN6_ARE_SCOPE_CMP(src_scope, dst_scope) < 0 && in in6_ifawithscope()
3508 IN6_ARE_SCOPE_CMP(best_scope, dst_scope) >= 0) { in in6_ifawithscope()
3633 dscopecmp = IN6_ARE_SCOPE_CMP(src_scope, dst_scope); in in6_ifawithscope()
3708 if (best_scope == dst_scope) { in in6_ifawithscope()
3730 int dst_scope = in6_addrscope(dst), blen = -1, tlen; in in6_ifawithifp() local
3776 if (dst_scope == in6_addrscope(IFA_IN6(ifa))) { in in6_ifawithifp()