Home
last modified time | relevance | path

Searched refs:AF_UNSPEC (Results 1 – 25 of 40) sorted by relevance

12

/glibc-2.36/resolv/
Dtst-resolv-basic.c279 int families[] = { AF_UNSPEC, AF_INET, AF_INET6, -1 }; in test_nodata_nxdomain()
294 if (family != AF_UNSPEC) in test_nodata_nxdomain()
350 check_ai ("www.example", "80", AF_UNSPEC, in do_test()
358 (struct addrinfo) { .ai_family = AF_UNSPEC, in do_test()
368 check_ai ("alias.example", "80", AF_UNSPEC, in do_test()
376 (struct addrinfo) { .ai_family = AF_UNSPEC, in do_test()
386 check_ai (LONG_NAME, "80", AF_UNSPEC, in do_test()
464 check_ai ("t.www.example", "80", AF_UNSPEC, in do_test()
471 check_ai ("t.alias.example", "80", AF_UNSPEC, in do_test()
Dtst-resolv-rotate.c128 case AF_UNSPEC: in check_forward_1()
147 if (family != AF_UNSPEC) in check_forward_1()
244 check_forward (AF_UNSPEC); in do_test()
Dtst-resolv-noaaaa.c265 .ai_family = AF_UNSPEC, in do_test()
298 .ai_family = AF_UNSPEC, in do_test()
330 .ai_family = AF_UNSPEC, in do_test()
359 .ai_family = AF_UNSPEC, in do_test()
Dtst-resolv-search.c192 if (family == AF_INET || family == AF_UNSPEC) in format_expected()
194 if (family == AF_INET6 || family == AF_UNSPEC) in format_expected()
279 do_gai (name, fqdn, AF_UNSPEC); in do_both()
Dtst-resolv-threads.c220 case AF_UNSPEC: in check_addrinfo()
345 return gai (AF_UNSPEC); in thread_gai_unspec()
Dtst-bug18665.c88 struct addrinfo hints = { .ai_family = AF_UNSPEC, }; in test_different_sizes()
Dtst-resolv-edns.c334 case AF_UNSPEC: in do_ai()
467 do_ai (AF_UNSPEC); in run_test()
Dtst-resolv-trailing.c126 hints.ai_family = AF_UNSPEC; in do_test()
Dtst-resolv-nondecimal.c57 hints.ai_family = AF_UNSPEC; in run_query_addrinfo()
Dtst-bug18665-tcp.c173 .ai_family = AF_UNSPEC, in test_different_sizes()
/glibc-2.36/posix/
Dtst-getaddrinfo3.c97 hints.ai_family = AF_UNSPEC; in do_test()
118 hints.ai_family = AF_UNSPEC; in do_test()
133 hints.ai_family = AF_UNSPEC; in do_test()
Dtst-getaddrinfo4.c56 err |= try (NULL, AF_UNSPEC, AI_ADDRCONFIG); in do_test()
60 err |= try ("http", AF_UNSPEC, AI_ADDRCONFIG); in do_test()
/glibc-2.36/nss/
Dtst-nss-gai-actions.c43 case AF_UNSPEC: in family_str()
136 do_one_test (action, AF_UNSPEC, false); in do_one_test_set()
Dtst-nss-files-hosts-multi.c141 if (params->family == AF_UNSPEC) in expected_gai()
214 if (params->family != AF_UNSPEC) in run_gbhn_gai()
254 static const int families[] = { AF_INET, AF_INET6, AF_UNSPEC, -1 }; in subprocess()
Dtst-nss-files-hosts-erange.c81 .ai_family = AF_UNSPEC, in do_test()
Dtst-nss-files-hosts-getent.c239 test_gai (AF_UNSPEC); in subprocess_gethost()
/glibc-2.36/nss/nss_files/
Dfiles-hosts.c58 if (__inet_pton (af == AF_UNSPEC ? AF_INET : af, addr, entdata->host_addr)
60 af = af == AF_UNSPEC ? AF_INET : af;
77 else if (af == AF_UNSPEC
405 herrnop, AF_UNSPEC); in libc_hidden_def()
Dfiles-network.c85 if ((type == AF_UNSPEC || result->n_addrtype == type)
/glibc-2.36/sysdeps/posix/
Dgetaddrinfo.c527 || req->ai_family == AF_UNSPEC in get_nscd_addresses()
542 else if (req->ai_family == AF_UNSPEC in get_nscd_addresses()
697 else if (req->ai_family == AF_UNSPEC in get_nss_addresses()
733 || req->ai_family == AF_UNSPEC) in get_nss_addresses()
745 || req->ai_family == AF_UNSPEC in get_nss_addresses()
869 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET) in text_to_binary_address()
908 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET6) in text_to_binary_address()
1014 if (req->ai_family == AF_UNSPEC) in get_local_addresses()
1017 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET6) in get_local_addresses()
1025 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET) in get_local_addresses()
[all …]
/glibc-2.36/inet/
Dtst-inet6_scopeid_pton.c139 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_failure()
178 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_success()
Dtest-ifaddrs.c47 case AF_UNSPEC: in addr_string()
/glibc-2.36/support/
Dsupport_format_address_family.c34 case AF_UNSPEC: in support_format_address_family()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dcheck_native.c76 req.g.rtgen_family = AF_UNSPEC; in __check_native()
/glibc-2.36/sysdeps/mach/hurd/bits/
Dsocket.h111 #define AF_UNSPEC PF_UNSPEC macro
/glibc-2.36/bits/
Dsocket.h107 #define AF_UNSPEC PF_UNSPEC macro

12