Home
last modified time | relevance | path

Searched refs:ai_family (Results 1 – 25 of 72) sorted by relevance

123

/glibc-2.36/posix/
Dtst-getaddrinfo3.c35 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 …]
Dtst-getaddrinfo2.c20 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()
Dtst-getaddrinfo.c37 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()
Dtst-rfc3484-2.c102 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()
Dbug-ga1.c14 req.ai_family = AF_INET6; in main()
Dbug-ga2.c17 hints.ai_family = PF_UNSPEC; in do_test()
Dtst-getaddrinfo4.c31 hints.ai_family = family; in try()
Dtst-rfc3484-3.c130 ais[i].ai_family = AF_INET; in do_test()
Dtst-rfc3484.c122 ais[i].ai_family = AF_INET; in do_test()
/glibc-2.36/sysdeps/posix/
Dgetaddrinfo.c153 .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/
Dtst-resolv-noaaaa.c246 .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 …]
Dtst-resolv-basic.c195 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()
Dtst-resolv-trailing.c122 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()
Dtst-resolv-nondecimal.c49 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()
Dtst-resolv-threads.c177 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()
Dtst-resolv-edns.c242 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()
Dtst-bug18665.c88 struct addrinfo hints = { .ai_family = AF_UNSPEC, }; in test_different_sizes()
/glibc-2.36/support/
Dsupport_format_addrinfo.c160 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()
Dtst-support-namespace.c37 .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/
Drexec.c65 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()
Drcmd.c135 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()
Dtst-inet6_scopeid_pton.c65 .ai_family = family, in call_gai()
86 TEST_VERIFY (ai->ai_family == AF_INET6); in call_gai()
/glibc-2.36/nss/
Dtst-nss-files-hosts-erange.c81 .ai_family = AF_UNSPEC, in do_test()
94 hints.ai_family = AF_INET; in do_test()
Dgetent.c351 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()
Dtst-nss-gai-actions.c71 .ai_family = family, in do_one_test()

123