Home
last modified time | relevance | path

Searched refs:ai_res (Results 1 – 1 of 1) sorted by relevance

/glibc-2.36/posix/
Dtst-getaddrinfo3.c16 struct addrinfo *ai_res; in do_test() local
20 s = getaddrinfo (addr, NULL, &hints, &ai_res); \ in do_test()
28 ai_res = NULL; \ in do_test()
35 else if (ai_res->ai_family != fam) \ in do_test()
39 no, ai_res->ai_family, fam); \ in do_test()
44 if (ai_res->ai_addrlen != sizeof (struct sockaddr_in)) \ in do_test()
47 no, (size_t) ai_res->ai_addrlen, \ in do_test()
52 inet_ntoa (((struct sockaddr_in *) ai_res->ai_addr)->sin_addr))\ in do_test()
57 inet_ntoa (((struct sockaddr_in *) ai_res->ai_addr)->sin_addr), \ in do_test()
66 if (ai_res->ai_addrlen != sizeof (struct sockaddr_in6)) \ in do_test()
[all …]