Searched refs:best_scope (Results 1 – 2 of 2) sorted by relevance
| /xnu-10063.101.15/bsd/netinet6/ |
| H A D | in6_src.c | 286 int dst_scope = -1, best_scope = -1, best_matchlen = -1; in in6_selectsrc_core() local 424 if (IN6_ARE_SCOPE_CMP(best_scope, new_scope) < 0) { in in6_selectsrc_core() 425 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0) { in in6_selectsrc_core() 429 } else if (IN6_ARE_SCOPE_CMP(new_scope, best_scope) < 0) { in in6_selectsrc_core() 648 best_scope = (new_scope >= 0 ? new_scope : in in6_selectsrc_core() 655 s_src, ifp1->if_xname, best_scope, new_scope, dst_scope); in in6_selectsrc_core() 714 __func__, s_src, s_dst, dst_scope, best_scope); in in6_selectsrc_core()
|
| H A D | in6.c | 3401 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0; in in6_ifawithscope() local 3485 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0 && in in6_ifawithscope() 3490 IN6_ARE_SCOPE_CMP(best_scope, dst_scope) >= 0) { in in6_ifawithscope() 3616 bscopecmp = IN6_ARE_SCOPE_CMP(src_scope, best_scope); in in6_ifawithscope() 3667 best_scope = in in6_ifawithscope() 3685 ip6stat.ip6s_sources_sameif[best_scope]++; in in6_ifawithscope() 3687 ip6stat.ip6s_sources_otherif[best_scope]++; in in6_ifawithscope() 3690 if (best_scope == dst_scope) { in in6_ifawithscope() 3691 ip6stat.ip6s_sources_samescope[best_scope]++; in in6_ifawithscope() 3693 ip6stat.ip6s_sources_otherscope[best_scope]++; in in6_ifawithscope() [all …]
|