Lines Matching refs:res
202 struct addrinfo hints, *res;
205 res = NULL;
211 error = getaddrinfo(address_str, "53", &hints, &res);
216 if (res->ai_family == AF_INET) {
221 v4 = &((struct sockaddr_in *)res->ai_addr)->sin_addr;
231 if (res->ai_addrlen > sizeof(address->type)) {
236 address->length = (unsigned int)res->ai_addrlen;
237 memmove(&address->type.ss, res->ai_addr, res->ai_addrlen);
242 freeaddrinfo(res);
301 int res;
304 res = getword(fp, word, sizeof(word));
307 else if (res == ' ' || res == '\t')
308 res = eatwhite(fp);
310 if (res != EOF && res != '\n')
387 int delim, res;
406 res = create_addr(word, &conf->sortlist[idx].addr, 1);
407 if (res != ISC_R_SUCCESS)
408 return (res);
411 res = create_addr(p, &conf->sortlist[idx].mask, 0);
412 if (res != ISC_R_SUCCESS)
413 return (res);