Lines Matching refs:scope
1011 * numeric hostname with scope
1023 char *cp, *hostname2 = NULL, *scope, *addr;
1049 * Handle special case of <scoped_address><delimiter><scope id>
1057 scope = cp + 1;
1067 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1242 /* convert a string to a scope identifier. XXX: IPv6 specific */
1244 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid)
1250 assert(scope != NULL);
1257 if (*scope == '\0')
1266 *scopeid = if_nametoindex(scope);
1283 lscopeid = strtoul(scope, &ep, 10);
1507 * link-local scope.
1527 * in a special scope, so we don't.
1534 * Return a scope with low priority as a last resort.
1682 /* Rule 2: Prefer matching scope. */
1730 /* Rule 8: Prefer smaller scope. */