Home
last modified time | relevance | path

Searched refs:naddrttls (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares__addrinfo2hostent.c199 struct ares_addr6ttl *addr6ttls, int *naddrttls) in ares__addrinfo2addrttl() argument
208 if (ai == NULL || naddrttls == NULL) in ares__addrinfo2addrttl()
220 *naddrttls = 0; in ares__addrinfo2addrttl()
235 if (*naddrttls < req_naddrttls) in ares__addrinfo2addrttl()
240 addr6ttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl()
242 addr6ttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl()
244 memcpy(&addr6ttls[*naddrttls].ip6addr, in ares__addrinfo2addrttl()
251 addrttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl()
253 addrttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl()
254 memcpy(&addrttls[*naddrttls].ipaddr, in ares__addrinfo2addrttl()
[all …]
Dares_parse_aaaa_reply.c48 int *naddrttls) in ares_parse_aaaa_reply() argument
55 if (naddrttls) in ares_parse_aaaa_reply()
57 req_naddrttls = *naddrttls; in ares_parse_aaaa_reply()
58 *naddrttls = 0; in ares_parse_aaaa_reply()
81 addrttls, naddrttls); in ares_parse_aaaa_reply()
Dares_parse_a_reply.c46 int *naddrttls) in ares_parse_a_reply() argument
53 if (naddrttls) in ares_parse_a_reply()
55 req_naddrttls = *naddrttls; in ares_parse_a_reply()
56 *naddrttls = 0; in ares_parse_a_reply()
79 NULL, naddrttls); in ares_parse_a_reply()
Dares_private.h411 struct ares_addr6ttl *addr6ttls, int *naddrttls);
/third_party/node/src/
Dcares_wrap.cc191 size_t naddrttls) { in AddrTTLToArray() argument
192 MaybeStackBuffer<Local<Value>, 8> ttls(naddrttls); in AddrTTLToArray()
193 for (size_t i = 0; i < naddrttls; i++) in AddrTTLToArray()
196 return Array::New(env->isolate(), ttls.out(), naddrttls); in AddrTTLToArray()
206 int* naddrttls = nullptr) { in ParseGeneralReply() argument
219 naddrttls); in ParseGeneralReply()
226 naddrttls); in ParseGeneralReply()
908 int naddrttls = arraysize(addrttls); in Parse() local
917 &naddrttls); in Parse()
923 CHECK_EQ(static_cast<uint32_t>(naddrttls), a_count); in Parse()
[all …]
/third_party/node/deps/cares/include/
Dares.h650 int *naddrttls);
656 int *naddrttls);
/third_party/node/deps/cares/
DCHANGES533 - ares_parse_{a,aaaa}_reply could return larger *naddrttls than passed in
536 the *naddrttls response would be larger than the actual number of elements in