Lines Matching refs:best_scope
2938 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0;
3021 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0 &&
3025 IN6_ARE_SCOPE_CMP(best_scope, dst_scope) >= 0) {
3150 bscopecmp = IN6_ARE_SCOPE_CMP(src_scope, best_scope);
3198 best_scope = in6_addrscope(&ifa2ia6(ifa)->ia_addr.sin6_addr);
3214 ip6stat.ip6s_sources_sameif[best_scope]++;
3216 ip6stat.ip6s_sources_otherif[best_scope]++;
3218 if (best_scope == dst_scope)
3219 ip6stat.ip6s_sources_samescope[best_scope]++;
3221 ip6stat.ip6s_sources_otherscope[best_scope]++;
3224 ip6stat.ip6s_sources_deprecated[best_scope]++;