Searched refs:best_scope (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet6/
H A Din6.c2938 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0; local
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]
[all...]
H A Din6_src.c210 int dst_scope = -1, best_scope = -1, best_matchlen = -1; local
371 if (IN6_ARE_SCOPE_CMP(best_scope, new_scope) < 0) {
372 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0)
375 } else if (IN6_ARE_SCOPE_CMP(new_scope, best_scope) < 0) {
499 best_scope = (new_scope >= 0 ? new_scope :

Completed in 32 milliseconds