Lines Matching refs:naddrttls
199 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()
258 (*naddrttls)++; in ares__addrinfo2addrttl()