Lines Matching defs:res
42 static void verify_res(struct addrinfo *res, int sock_type, in_port_t servnum,
47 struct addrinfo *p = res;
112 struct addrinfo *res = NULL;
124 SAFE_GETADDRINFO(host, service, &hints, &res);
126 TEST(getaddrinfo(host, service, &hints, &res));
128 if (res) {
129 verify_res(res, type, servnum, test_cb);
130 freeaddrinfo(res);
137 struct addrinfo *p, *res;
146 SAFE_GETADDRINFO(shortname, 0, &hints, &res);
148 for (p = res; p; p = p->ai_next) {
159 freeaddrinfo(res);