Home | History | Annotate | Download | only in net

Lines Matching refs:scope

1016  * numeric hostname with scope
1028 char *cp, *hostname2 = NULL, *scope, *addr;
1054 * Handle special case of <scoped_address><delimiter><scope id>
1062 scope = cp + 1;
1072 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1247 /* convert a string to a scope identifier. XXX: IPv6 specific */
1249 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid)
1255 assert(scope != NULL);
1262 if (*scope == '\0')
1271 *scopeid = if_nametoindex(scope);
1288 lscopeid = strtoul(scope, &ep, 10);
1512 * link-local scope.
1530 * and shared addresses (100.64.0.0/10), are assigned global scope.
1537 * Return a scope with low priority as a last resort.
1687 /* Rule 2: Prefer matching scope. */
1735 /* Rule 8: Prefer smaller scope. */