Lines Matching refs:getaddrinfo
190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0)
192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0)
204 * by getaddrinfo(hostname).
206 * Verify also that getnameinfo() and getaddrinfo() return the same
209 * On some sites, getaddrinfo("localhost") returns "localhost.domain".
211 * can't believe the address list from getaddrinfo("localhost")
219 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) != 0)
221 if (getaddrinfo(host->name, "0", &hints, &res0) != 0)
229 tcpd_warn("can't verify hostname: getaddrinfo(%s, %d) failed",
235 * The getnameinfo() and getaddrinfo() calls did not return
246 * getaddrinfo().