Lines Matching defs:hint
73 int getaddrinfo(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint, struct addrinfo **restrict res)
76 return getaddrinfo_ext(host, serv, hint, res, ¶m);
79 int getaddrinfo_ext(const char *restrict host, const char *restrict serv, const struct addrinfo *restrict hint,
106 int ret = g_customdnsresolvehook(host, serv, hint, res);
115 if (dns_get_addr_info_from_netsys_cache2(netid, host, serv, hint, res) == 0) {
130 if (hint) {
131 family = hint->ai_family;
132 flags = hint->ai_flags;
133 proto = hint->ai_protocol;
134 socktype = hint->ai_socktype;
140 MUSL_LOGE("%{public}s: %{public}d: bad hint ai_flag: %{public}d", __func__, __LINE__, flags);
152 MUSL_LOGE("%{public}s: %{public}d: wrong family in hint: %{public}d", __func__, __LINE__, family);
284 dns_set_addr_info_to_netsys_cache2(netid, host, serv, hint, *res);