Searched defs:res0 (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/samples/
H A Dsample-gai.c24 struct addrinfo hints, *res, *res0; local
32 error = getaddrinfo(hostname, "http", &hints, &res0);
39 for (res = res0; res; res = res->ai_next) {
58 freeaddrinfo(res0);
/bind-9.11.3/lib/isc/unix/
H A Dnet.c629 struct addrinfo hints, *res0; local
645 n = getaddrinfo("127.0.0.1", NULL, &hints, &res0);
646 if (n != 0 || res0 == NULL) {
653 s = socket(res0->ai_family, res0->ai_socktype, res0->ai_protocol);
660 freeaddrinfo(res0);
676 if (cmsgsend(s, IPPROTO_IP, IP_TOS, res0))
682 freeaddrinfo(res0);
694 struct addrinfo hints, *res0; local
[all...]

Completed in 11 milliseconds