Home | History | Annotate | Download | only in net

Lines Matching refs:scope

1017  * numeric hostname with scope
1029 char *cp, *hostname2 = NULL, *scope, *addr;
1055 * Handle special case of <scoped_address><delimiter><scope id>
1063 scope = cp + 1;
1073 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1248 /* convert a string to a scope identifier. XXX: IPv6 specific */
1250 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid)
1256 assert(scope != NULL);
1263 if (*scope == '\0')
1272 *scopeid = if_nametoindex(scope);
1289 lscopeid = strtoul(scope, &ep, 10);
1513 * link-local scope.
1533 * in a special scope, so we don't.
1540 * Return a scope with low priority as a last resort.
1688 /* Rule 2: Prefer matching scope. */
1736 /* Rule 8: Prefer smaller scope. */