Searched defs:scope (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/netbsd/net/
H A Dgetaddrinfo.c1017 * 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) argument
1256 assert(scope != NULL);
1263 if (*scope == '\0')
1272 *scopeid = if_nametoindex(scope);
[all...]
/bionic/libc/bionic/
H A Dpthread.c519 int pthread_attr_setscope(pthread_attr_t *attr, int scope) argument
521 if (scope == PTHREAD_SCOPE_SYSTEM)
523 if (scope == PTHREAD_SCOPE_PROCESS)

Completed in 112 milliseconds