Lines Matching refs:scope
1008 * numeric hostname with scope
1020 char *cp, *hostname2 = NULL, *scope, *addr;
1046 * Handle special case of <scoped_address><delimiter><scope id>
1054 scope = cp + 1;
1064 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1239 /* convert a string to a scope identifier. XXX: IPv6 specific */
1241 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid)
1247 assert(scope != NULL);
1254 if (*scope == '\0')
1263 *scopeid = if_nametoindex(scope);
1280 lscopeid = strtoul(scope, &ep, 10);
1504 * link-local scope.
1522 * and shared addresses (100.64.0.0/10), are assigned global scope.
1529 * Return a scope with low priority as a last resort.
1679 /* Rule 2: Prefer matching scope. */
1727 /* Rule 8: Prefer smaller scope. */