Lines Matching refs:scopeid
2163 u_int32_t scopeid; in in6_embedscope() local
2167 scopeid = sin6->sin6_scope_id; in in6_embedscope()
2178 if (scopeid == 0) { in in6_embedscope()
2179 scopeid = scope6_addr2default(in6); in in6_embedscope()
2228 } else if (scopeid != 0) { in in6_embedscope()
2234 if (if_index < scopeid) { in in6_embedscope()
2240 ifp = ifindex2ifnet[scopeid]; in in6_embedscope()
2245 in6->s6_addr16[1] = htons(scopeid & 0xffff); in in6_embedscope()
2248 *ret_ifscope = scopeid; in in6_embedscope()
2276 u_int32_t scopeid; in in6_recoverscope() local
2296 scopeid = ntohs(sin6->sin6_addr.s6_addr16[1]); in in6_recoverscope()
2297 if (scopeid) { in in6_recoverscope()
2304 if (if_index < scopeid) { in in6_recoverscope()
2307 if (ifp && ifp->if_index != scopeid) { in in6_recoverscope()
2311 sin6->sin6_scope_id = scopeid; in in6_recoverscope()