Lines Matching defs:res
209 struct addrinfo hints, *res0, *res;
227 for (res = res0; res && cnt < MAX_SERVERS_DNS; res = res->ai_next) {
228 if (res->ai_family != AF_INET &&
229 res->ai_family != AF_INET6)
233 h->ss.ss_family = res->ai_family;
234 if (res->ai_family == AF_INET) {
238 res->ai_addr)->sin_addr.s_addr;
243 res->ai_addr)->sin6_addr, sizeof(struct in6_addr));