Home
last modified time | relevance | path

Searched refs:scopeid (Results 1 – 21 of 21) sorted by relevance

/third_party/musl/src/network/
Dlookup_ipliteral.c21 buf[0].scopeid = 0; in __lookup_ipliteral()
27 unsigned long long scopeid = 0; in __lookup_ipliteral() local
42 if (isdigit(*++p)) scopeid = strtoull(p, &z, 10); in __lookup_ipliteral()
48 scopeid = if_nametoindex(p); in __lookup_ipliteral()
49 if (!scopeid) return EAI_NONAME; in __lookup_ipliteral()
51 if (scopeid > UINT_MAX) return EAI_NONAME; in __lookup_ipliteral()
53 buf[0].scopeid = scopeid; in __lookup_ipliteral()
Dgetnameinfo.c45 static void reverse_hosts(char *buf, const unsigned char *a, unsigned scopeid, int family) in reverse_hosts() argument
68 iplit.scopeid = 0; in reverse_hosts()
71 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
130 unsigned scopeid; in getnameinfo() local
137 scopeid = 0; in getnameinfo()
146 scopeid = ((struct sockaddr_in6 *)sa)->sin6_scope_id; in getnameinfo()
155 reverse_hosts(buf, a, scopeid, af); in getnameinfo()
170 if (scopeid) { in getnameinfo()
175 p = if_indextoname(scopeid, tmp+1); in getnameinfo()
177 p = itoa(num, scopeid); in getnameinfo()
Dlookup_name.c124 ctx->addrs[ctx->cnt].scopeid = 0; in dns_parse_callback()
130 ctx->addrs[ctx->cnt].scopeid = 0; in dns_parse_callback()
378 .sin6_scope_id = buf[i].scopeid, in __lookup_name()
Dlookup.h35 unsigned scopeid; member
Dgetaddrinfo.c134 out[k].sa.sin6.sin6_scope_id = addrs[i].scopeid; in getaddrinfo()
Dres_msend.c65 ns[nns].sin6.sin6_scope_id = iplit->scopeid; in __res_msend_rc()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetnameinfo.c45 static void reverse_hosts(char *buf, const unsigned char *a, unsigned scopeid, int family) in reverse_hosts() argument
68 iplit.scopeid = 0; in reverse_hosts()
71 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
130 unsigned scopeid; in getnameinfo() local
137 scopeid = 0; in getnameinfo()
146 scopeid = ((struct sockaddr_in6 *)sa)->sin6_scope_id; in getnameinfo()
155 reverse_hosts(buf, a, scopeid, af); in getnameinfo()
170 if (scopeid) { in getnameinfo()
175 p = if_indextoname(scopeid, tmp+1); in getnameinfo()
177 p = itoa(num, scopeid); in getnameinfo()
/third_party/musl/porting/linux/user/src/network/
Dgetnameinfo.c64 static void reverse_hosts(char *buf, const unsigned char *a, unsigned scopeid, int family) in reverse_hosts() argument
87 iplit.scopeid = 0; in reverse_hosts()
90 if (memcmp(a, iplit.addr, 16) || iplit.scopeid != scopeid) in reverse_hosts()
151 unsigned scopeid; in getnameinfo() local
158 scopeid = 0; in getnameinfo()
167 scopeid = ((struct sockaddr_in6 *)sa)->sin6_scope_id; in getnameinfo()
176 reverse_hosts(buf, a, scopeid, af); in getnameinfo()
191 if (scopeid) { in getnameinfo()
196 p = if_indextoname(scopeid, tmp+1); in getnameinfo()
198 p = itoa(num, scopeid); in getnameinfo()
Dlookup_name.c140 ctx->addrs[ctx->cnt].scopeid = 0; in dns_parse_callback()
146 ctx->addrs[ctx->cnt].scopeid = 0; in dns_parse_callback()
399 .sin6_scope_id = buf[i].scopeid,
/third_party/node/test/parallel/
Dtest-dgram-udp6-link-local-address.js12 for (const { address, family, scopeid } of entries) { field
14 return { address, ifname, scopeid };
45 common.isWindows ? `${iface.address}%${iface.scopeid}` : address
/third_party/node/lib/
Dos.js274 const scopeid = data[i + 6];
275 if (scopeid !== -1)
276 entry.scopeid = scopeid;
/third_party/node/test/common/
Dreport.js154 assert.strictEqual(iface.scopeid, undefined);
158 assert(Number.isInteger(iface.scopeid));
163 assert.strictEqual(iface.scopeid, undefined);
/third_party/node/src/
Dnode_os.cc229 uint32_t scopeid = interfaces[i].address.address6.sin6_scope_id; in GetInterfaceAddresses() local
230 result.emplace_back(Integer::NewFromUnsigned(isolate, scopeid)); in GetInterfaceAddresses()
/third_party/node/deps/cares/src/lib/
Dares_getnameinfo.c71 static void append_scopeid(struct sockaddr_in6 *addr6, unsigned int scopeid,
/third_party/python/Lib/asyncio/
Dbase_events.py103 def _ipaddr_info(host, port, family, type, proto, flowinfo=0, scopeid=0): argument
152 return af, type, proto, '', (host, port, flowinfo, scopeid)
/third_party/node/doc/api/
Dos.md230 * `scopeid` {number} The numeric IPv6 scope ID (only specified when `family`
253 scopeid: 0,
272 scopeid: 1,
/third_party/python/Misc/NEWS.d/
D3.7.0b2.rst402 ``%scope`` part since the same information is already encoded in *scopeid*
D3.8.0a1.rst6038 ``%scope`` part since the same information is already encoded in *scopeid*
/third_party/musl/
DWHATSNEW1610 - uninitialized scopeid in address lookups from hosts file and ip literals
/third_party/libuv/
DChangeLog4200 * inet: allow scopeid in uv_inet_pton (Fedor Indutny)
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md316 * os: networkInterfaces include scopeid for ipv6 (Xidorn Quan)