Lines Matching defs:scope
839 * numeric hostname with scope
854 char *cp, *hostname2 = NULL, *scope, *addr;
869 * Handle special case of <scoped_address><delimiter><scope id>
877 scope = cp + 1;
887 if (!ip6_str2scopeid(scope, sin6, &scopeid)) {
1107 /* convert a string to a scope identifier. XXX: IPv6 specific */
1109 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6,
1118 if (*scope == '\0')
1129 scopeid = if_nametoindex(scope);
1147 lscopeid = strtoul(scope, &ep, 10);