Searched refs:best_scope (Results 1 – 1 of 1) sorted by relevance
191 int dst_scope = -1, best_scope = -1, best_matchlen = -1; in in6_selectsrc() local363 if (IN6_ARE_SCOPE_CMP(best_scope, new_scope) < 0) { in in6_selectsrc()364 if (IN6_ARE_SCOPE_CMP(best_scope, dst_scope) < 0) in in6_selectsrc()367 } else if (IN6_ARE_SCOPE_CMP(new_scope, best_scope) < 0) { in in6_selectsrc()494 best_scope = (new_scope >= 0 ? new_scope : in in6_selectsrc()537 IP6STAT_INC(ip6s_sources_sameif[best_scope]); in in6_selectsrc()539 IP6STAT_INC(ip6s_sources_otherif[best_scope]); in in6_selectsrc()540 if (dst_scope == best_scope) in in6_selectsrc()541 IP6STAT_INC(ip6s_sources_samescope[best_scope]); in in6_selectsrc()543 IP6STAT_INC(ip6s_sources_otherscope[best_scope]); in in6_selectsrc()[all …]