Searched refs:hints (Results 1 – 5 of 5) sorted by relevance
/posix/ |
A D | tst-getaddrinfo3.c | 15 struct addrinfo hints; in do_test() local 96 memset (&hints, '\0', sizeof (hints)); in do_test() 101 memset (&hints, '\0', sizeof (hints)); in do_test() 106 memset (&hints, '\0', sizeof (hints)); in do_test() 112 memset (&hints, '\0', sizeof (hints)); in do_test() 117 memset (&hints, '\0', sizeof (hints)); in do_test() 122 memset (&hints, '\0', sizeof (hints)); in do_test() 127 memset (&hints, '\0', sizeof (hints)); in do_test() 132 memset (&hints, '\0', sizeof (hints)); in do_test() 137 memset (&hints, '\0', sizeof (hints)); in do_test() [all …]
|
A D | bug-ga2.c | 10 struct addrinfo hints, *res; in do_test() local 16 memset (&hints, 0, sizeof (hints)); in do_test() 17 hints.ai_family = PF_UNSPEC; in do_test() 18 hints.ai_socktype = SOCK_STREAM; in do_test() 20 ret = getaddrinfo ("www.gnu.org", "http", &hints, &res); in do_test()
|
A D | tst-getaddrinfo.c | 32 struct addrinfo hints, *ai, *aitop; in do_test() local 36 memset (&hints, '\0', sizeof (hints)); in do_test() 37 hints.ai_family = family[index]; in do_test() 38 hints.ai_socktype = SOCK_STREAM; in do_test() 40 gaierr = getaddrinfo (NULL, "54321", &hints, &aitop); in do_test()
|
A D | tst-getaddrinfo4.c | 27 struct addrinfo hints, *h, *ai; in try() local 30 memset (&hints, 0, sizeof hints); in try() 31 hints.ai_family = family; in try() 32 hints.ai_flags = flags; in try() 35 h = (family || flags) ? &hints : NULL; in try()
|
A D | tst-getaddrinfo2.c | 15 struct addrinfo hints, *aires, *pai; in do_test() local 19 memset (&hints, 0, sizeof (hints)); in do_test() 20 hints.ai_family = AF_INET; in do_test() 21 rv = getaddrinfo (NULL, portstr, &hints, &aires); in do_test()
|
Completed in 10 milliseconds