Searched refs:ai (Results 1 – 3 of 3) sorted by relevance
/support/ |
A D | support_format_addrinfo.c | 54 if (ai == NULL) in format_ai_flags() 81 ai = ai->ai_next; in format_ai_flags() 82 while (ai != NULL) in format_ai_flags() 87 ai = ai->ai_next; in format_ai_flags() 95 if (ai == NULL) in format_ai_canonname() 103 ai = ai->ai_next; in format_ai_canonname() 104 while (ai != NULL) in format_ai_canonname() 109 ai = ai->ai_next; in format_ai_canonname() 160 if (ai->ai_addrlen != socket_address_length (ai->ai_family)) in format_ai_one() 204 while (ai) in format_ai_family() [all …]
|
A D | tst-support-namespace.c | 41 struct addrinfo *ai[3]; in test_localhost_bind() local 42 TEST_VERIFY_EXIT (getaddrinfo ("127.0.0.1", "53", &hints, ai + 0) == 0); in test_localhost_bind() 43 TEST_VERIFY_EXIT (getaddrinfo ("127.0.0.2", "53", &hints, ai + 1) == 0); in test_localhost_bind() 44 TEST_VERIFY_EXIT (getaddrinfo ("127.0.0.3", "53", &hints, ai + 2) == 0); in test_localhost_bind() 51 (ai[i]->ai_family, ai[i]->ai_socktype, ai[i]->ai_protocol); in test_localhost_bind() 52 xbind (sockets[i], ai[i]->ai_addr, ai[i]->ai_addrlen); in test_localhost_bind() 60 ai[i]->ai_addr, ai[i]->ai_addrlen) == sizeof (i)); in test_localhost_bind() 63 ai[i]->ai_addr, ai[i]->ai_addrlen) == sizeof (j)); in test_localhost_bind() 89 freeaddrinfo (ai[i]); in test_localhost_bind()
|
A D | check_addrinfo.c | 29 check_addrinfo (const char *query_description, struct addrinfo *ai, int ret, in check_addrinfo() argument 32 char *formatted = support_format_addrinfo (ai, ret); in check_addrinfo()
|
Completed in 7 milliseconds