/glibc-2.36/posix/ |
D | tst-getaddrinfo3.c | 35 else if (ai_res->ai_family != fam) \ in do_test() 39 no, ai_res->ai_family, fam); \ in do_test() 97 hints.ai_family = AF_UNSPEC; in do_test() 102 hints.ai_family = AF_INET; in do_test() 107 hints.ai_family = AF_INET6; in do_test() 113 hints.ai_family = AF_INET6; in do_test() 118 hints.ai_family = AF_UNSPEC; in do_test() 123 hints.ai_family = AF_INET; in do_test() 128 hints.ai_family = AF_INET6; in do_test() 133 hints.ai_family = AF_UNSPEC; in do_test() [all …]
|
D | tst-getaddrinfo2.c | 20 hints.ai_family = AF_INET; in do_test() 32 (int) pai->ai_family, (int) pai->ai_addrlen, in do_test() 34 if (pai->ai_family == AF_INET) in do_test() 39 err |= pai->ai_family != AF_INET; in do_test() 42 if (pai->ai_family == AF_INET) in do_test() 55 pai->ai_family, pai->ai_addrlen, psin, in do_test()
|
D | tst-getaddrinfo.c | 37 hints.ai_family = family[index]; in do_test() 51 family[index], ai->ai_family); in do_test() 52 result |= family[index] != ai->ai_family; in do_test()
|
D | tst-rfc3484-2.c | 102 ai1.ai_family = AF_INET; in do_test() 120 ai2.ai_family = AF_INET6; in do_test() 150 if (results[order[0]].dest_addr->ai_family == AF_INET6) in do_test() 179 if (results[order[0]].dest_addr->ai_family == AF_INET6) in do_test()
|
D | bug-ga1.c | 14 req.ai_family = AF_INET6; in main()
|
D | bug-ga2.c | 17 hints.ai_family = PF_UNSPEC; in do_test()
|
D | tst-getaddrinfo4.c | 31 hints.ai_family = family; in try()
|
D | tst-rfc3484-3.c | 130 ais[i].ai_family = AF_INET; in do_test()
|
D | tst-rfc3484.c | 122 ais[i].ai_family = AF_INET; in do_test()
|
/glibc-2.36/sysdeps/posix/ |
D | getaddrinfo.c | 153 .ai_family = PF_UNSPEC, 251 if (family == AF_INET && req->ai_family == AF_INET6) in convert_hostent_to_gaih_addrtuple() 525 && req->ai_family == AF_INET6 in get_nscd_addresses() 527 || req->ai_family == AF_UNSPEC in get_nscd_addresses() 528 || air->family[i] == req->ai_family)) in get_nscd_addresses() 535 if (air->family[i] == AF_INET && req->ai_family == AF_INET6 in get_nscd_addresses() 542 else if (req->ai_family == AF_UNSPEC in get_nscd_addresses() 543 || air->family[count] == req->ai_family) in get_nscd_addresses() 630 if (req->ai_family == PF_UNSPEC) in get_nss_addresses() 685 && req->ai_family == AF_INET6 in get_nss_addresses() [all …]
|
/glibc-2.36/resolv/ |
D | tst-resolv-noaaaa.c | 246 .ai_family = AF_INET, in do_test() 256 .ai_family = AF_INET6, in do_test() 265 .ai_family = AF_UNSPEC, in do_test() 277 .ai_family = AF_INET, in do_test() 289 .ai_family = AF_INET6, in do_test() 298 .ai_family = AF_UNSPEC, in do_test() 312 .ai_family = AF_INET, in do_test() 321 .ai_family = AF_INET6, in do_test() 330 .ai_family = AF_UNSPEC, in do_test() 341 .ai_family = AF_INET, in do_test() [all …]
|
D | tst-resolv-basic.c | 195 hints.ai_family, hints.ai_flags); in check_ai_hints() 208 (struct addrinfo) { .ai_family = family, }, in check_ai() 227 .ai_family = AF_INET6, in test_bug_21295() 312 .ai_family = family, in test_nodata_nxdomain() 358 (struct addrinfo) { .ai_family = AF_UNSPEC, in do_test() 376 (struct addrinfo) { .ai_family = AF_UNSPEC, in do_test() 398 (struct addrinfo) { .ai_family = AF_INET, in do_test() 410 (struct addrinfo) { .ai_family = AF_INET, in do_test() 426 (struct addrinfo) { .ai_family = AF_INET6, in do_test() 438 (struct addrinfo) { .ai_family = AF_INET6, in do_test()
|
D | tst-resolv-trailing.c | 122 hints.ai_family = AF_INET; in do_test() 124 hints.ai_family = AF_INET6; in do_test() 126 hints.ai_family = AF_UNSPEC; in do_test()
|
D | tst-resolv-nondecimal.c | 49 hints.ai_family = AF_INET; in run_query_addrinfo() 57 hints.ai_family = AF_UNSPEC; in run_query_addrinfo() 69 hints.ai_family = AF_INET6; in run_query_addrinfo()
|
D | tst-resolv-threads.c | 177 TEST_VERIFY (p->ai_addr->sa_family == p->ai_family); in check_addrinfo() 179 switch (p->ai_family) in check_addrinfo() 314 .ai_family = family, in gai()
|
D | tst-resolv-edns.c | 242 if (ai->ai_family == family) in decode_addrinfo() 260 FAIL_EXIT1 ("invalid address family %d", ai->ai_family); in decode_addrinfo() 324 struct addrinfo hints = { .ai_family = family }; in do_ai()
|
D | tst-bug18665.c | 88 struct addrinfo hints = { .ai_family = AF_UNSPEC, }; in test_different_sizes()
|
/glibc-2.36/support/ |
D | support_format_addrinfo.c | 160 if (ai->ai_addrlen != socket_address_length (ai->ai_family)) in format_ai_one() 162 char *family = support_format_address_family (ai->ai_family); in format_ai_one() 173 switch (ai->ai_family) in format_ai_one() 206 if (ai->ai_family == family) in format_ai_family()
|
D | tst-support-namespace.c | 37 .ai_family = AF_INET, in test_localhost_bind() 51 (ai[i]->ai_family, ai[i]->ai_socktype, ai[i]->ai_protocol); in test_localhost_bind()
|
/glibc-2.36/inet/ |
D | rexec.c | 65 hints.ai_family = af; in rexec_af() 90 s = __socket(res0->ai_family, res0->ai_socktype, 0); in rexec_af() 118 s2 = __socket(res0->ai_family, res0->ai_socktype, 0); in rexec_af()
|
D | rcmd.c | 135 hints.ai_family = af; in rcmd_af() 172 s = rresvport_af(&lport, ai->ai_family); in rcmd_af() 242 int s2 = rresvport_af(&lport, ai->ai_family), s3; in rcmd_af() 444 hints.ai_family = af; in ruserok_af() 684 hints.ai_family = ra->sa_family; in __checkhost_sa() 689 if (res->ai_family == ra->sa_family in __checkhost_sa()
|
D | tst-inet6_scopeid_pton.c | 65 .ai_family = family, in call_gai() 86 TEST_VERIFY (ai->ai_family == AF_INET6); in call_gai()
|
/glibc-2.36/nss/ |
D | tst-nss-files-hosts-erange.c | 81 .ai_family = AF_UNSPEC, in do_test() 94 hints.ai_family = AF_INET; in do_test()
|
D | getent.c | 351 hint.ai_family = af; in ahosts_keys_int() 400 if (runp->ai_family != AF_INET6 || addr6->sin6_scope_id == 0) in ahosts_keys_int() 408 if (inet_ntop (runp->ai_family, in ahosts_keys_int() 409 runp->ai_family == AF_INET in ahosts_keys_int()
|
D | tst-nss-gai-actions.c | 71 .ai_family = family, in do_one_test()
|