Home
last modified time | relevance | path

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

123456789

/third_party/nghttp2/src/
Dshrpx_dual_dns_resolver.cc47 if (family_ == AF_UNSPEC || family_ == AF_INET) { in DualDNSResolver()
50 if (family_ == AF_UNSPEC || family_ == AF_INET6) { in DualDNSResolver()
57 if (family_ == AF_UNSPEC || family_ == AF_INET) { in resolve()
60 if (family_ == AF_UNSPEC || family_ == AF_INET6) { in resolve()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dgetaddrinfo.c41 hint.ai_family = AF_UNSPEC; in getaddrinfo_0100()
58 hint.ai_family = AF_UNSPEC; in getaddrinfo_0200()
111 hint.ai_family = AF_UNSPEC; in getaddrinfo_0500()
129 hint.ai_family = AF_UNSPEC; in getaddrinfo_0600()
147 hint.ai_family = AF_UNSPEC; in getaddrinfo_0700()
179 hint.ai_family = AF_UNSPEC; in getaddrinfo_0900()
/third_party/musl/Benchmark/musl/
Dlibc_network.cpp46 hint.ai_family = AF_UNSPEC; in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1()
65 hint.ai_family = AF_UNSPEC; // not specified in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2()
103 hint.ai_family = AF_UNSPEC; // not specified in Bm_function_Getaddrinfo_Freeaddrinfo_intranet4()
122 hint.ai_family = AF_UNSPEC; // not specified in Bm_function_Getaddrinfo_Freeaddrinfo_intranet5()
141 hint.ai_family = AF_UNSPEC; in Bm_function_Getaddrinfo_Freeaddrinfo_intranet6()
/third_party/node/deps/cares/src/lib/
Dares__get_hostent.c49 case AF_UNSPEC: in ares__get_hostent()
137 addr.family = AF_UNSPEC; in ares__get_hostent()
139 if ((family == AF_INET) || (family == AF_UNSPEC)) in ares__get_hostent()
148 if ((family == AF_INET6) || ((family == AF_UNSPEC) && (!addrlen))) in ares__get_hostent()
Dares__readaddrinfo.c56 case AF_UNSPEC: in ares__readaddrinfo()
175 if ((hints->ai_family == AF_INET) || (hints->ai_family == AF_UNSPEC)) in ares__readaddrinfo()
187 if ((hints->ai_family == AF_INET6) || (hints->ai_family == AF_UNSPEC)) in ares__readaddrinfo()
Dares__addrinfo_localhost.c104 if (aftype == AF_UNSPEC || aftype == AF_INET6) in ares__default_loopback_addrs()
115 if (aftype == AF_UNSPEC || aftype == AF_INET) in ares__default_loopback_addrs()
212 case AF_UNSPEC: in ares__addrinfo_localhost()
Dares_getaddrinfo.c80 AF_UNSPEC, /* ai_family */
290 if (family == AF_INET || family == AF_INET6 || family == AF_UNSPEC) in fake_addrinfo()
329 if (!result && (family == AF_INET6 || family == AF_UNSPEC)) in fake_addrinfo()
646 family != AF_UNSPEC) in ares_getaddrinfo()
803 case AF_UNSPEC: in next_dns_lookup()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_userspace.c153 if ((Err = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, NULL, &AdapterAddrsSize)) != 0) { in sctp_userspace_get_mtu_from_ifn()
165 …if ((Err = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, pAdapterAddrs, &AdapterAddrsSize)) != ERROR_SU… in sctp_userspace_get_mtu_from_ifn()
223 status = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, NULL, &size); in win_if_nametoindex()
228 status = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, addresses, &size); in win_if_nametoindex()
/third_party/musl/src/network/
Dresolvconf.c68 if (__lookup_ipliteral(conf->ns + nns, config.nameservers[i], AF_UNSPEC) > 0) { in __get_resolv_conf()
121 if (__lookup_ipliteral(conf->ns+nns, p, AF_UNSPEC) > 0) in __get_resolv_conf()
141 __lookup_ipliteral(conf->ns, "127.0.0.1", AF_UNSPEC); in __get_resolv_conf()
Dgetaddrinfo.c25 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo()
44 case AF_UNSPEC: in getaddrinfo()
/third_party/node/deps/openssl/openssl/apps/lib/
Ds_socket.c112 OPENSSL_assert((family == AF_UNSPEC in init_client()
270 int sock_family_fallback = AF_UNSPEC; in do_server()
286 OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) in do_server()
317 if (asock == INVALID_SOCKET && sock_family_fallback != AF_UNSPEC) { in do_server()
/third_party/openssl/apps/lib/
Ds_socket.c112 OPENSSL_assert((family == AF_UNSPEC in init_client()
270 int sock_family_fallback = AF_UNSPEC; in do_server()
286 OPENSSL_assert((family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) in do_server()
317 if (asock == INVALID_SOCKET && sock_family_fallback != AF_UNSPEC) { in do_server()
/third_party/node/deps/openssl/openssl/crypto/bio/
Dbio_addr.c61 ret->sa.sa_family = AF_UNSPEC; in BIO_ADDR_new()
73 ap->sa.sa_family = AF_UNSPEC; in BIO_ADDR_clear()
665 #ifdef AF_UNSPEC in BIO_lookup_ex()
666 case AF_UNSPEC: in BIO_lookup_ex()
698 # ifdef AF_UNSPEC in BIO_lookup_ex()
699 if (host != NULL && family == AF_UNSPEC) in BIO_lookup_ex()
/third_party/openssl/crypto/bio/
Dbio_addr.c61 ret->sa.sa_family = AF_UNSPEC; in BIO_ADDR_new()
73 ap->sa.sa_family = AF_UNSPEC; in BIO_ADDR_clear()
665 #ifdef AF_UNSPEC in BIO_lookup_ex()
666 case AF_UNSPEC: in BIO_lookup_ex()
698 # ifdef AF_UNSPEC in BIO_lookup_ex()
699 if (host != NULL && family == AF_UNSPEC) in BIO_lookup_ex()
/third_party/cups/
Dfix-httpAddrGetList-test-case-fail.patch37 - addrlist = httpAddrGetList(hostname, AF_UNSPEC, NULL);
38 + addrlist = httpAddrGetList(gethostname(localhostname, sizeof(localhostname)), AF_UNSPEC, NULL);
/third_party/musl/porting/linux/user/src/network/
Dresolvconf.c171 if (__lookup_ipliteral(conf->ns + nns, config.nameservers[i], AF_UNSPEC) > 0) { in get_resolv_conf_ext()
228 if (__lookup_ipliteral(conf->ns+nns, p, AF_UNSPEC) > 0) in get_resolv_conf_ext()
248 __lookup_ipliteral(conf->ns, "127.0.0.1", AF_UNSPEC); in get_resolv_conf_ext()
Dgetaddrinfo.c112 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo_ext()
129 case AF_UNSPEC: in getaddrinfo_ext()
/third_party/node/deps/uv/src/unix/
Dtcp.c71 if (domain == AF_UNSPEC) { in maybe_new_socket()
119 if (domain != AF_INET && domain != AF_INET6 && domain != AF_UNSPEC) in uv_tcp_init_ex()
131 if (domain != AF_UNSPEC) { in uv_tcp_init_ex()
144 return uv_tcp_init_ex(loop, tcp, AF_UNSPEC); in uv_tcp_init()
/third_party/libuv/src/unix/
Dtcp.c71 if (domain == AF_UNSPEC) { in maybe_new_socket()
119 if (domain != AF_INET && domain != AF_INET6 && domain != AF_UNSPEC) in uv_tcp_init_ex()
131 if (domain != AF_UNSPEC) { in uv_tcp_init_ex()
144 return uv_tcp_init_ex(loop, tcp, AF_UNSPEC); in uv_tcp_init()
/third_party/rust/crates/rustix/src/backend/libc/
Dwinsock_c.rs19 pub(crate) const AF_UNSPEC: i32 = WinSock::AF_UNSPEC as _; constant
/third_party/ltp/lib/
Dtst_netdevice.c104 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_create_veth_pair()
163 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_add_device()
206 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_remove_device()
323 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in change_ns()
/third_party/toybox/toys/pending/
Dip.c372 if (family != AF_UNSPEC && family != AF_INET6) return 1; in get_prefix()
380 if (family != AF_UNSPEC && family != AF_INET) return 1; in get_prefix()
404 uint8_t naf = AF_UNSPEC; in get_nmask_prefix()
431 uint8_t af = AF_UNSPEC; in parse_prefix()
638 request.info.ifi_family = AF_UNSPEC; in linkupdate()
976 request.info.ifi_family = AF_UNSPEC; in link_show()
1163 uint8_t af = AF_UNSPEC; in ipaddrupdate()
1169 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1183 uint8_t af = AF_UNSPEC; in ipaddrupdate()
1188 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
[all …]
/third_party/libbpf/src/
Dnetlink.c252 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
489 req.tc.tcm_family = AF_UNSPEC; in tc_qdisc_modify()
649 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_attach()
724 req.tc.tcm_family = AF_UNSPEC; in __bpf_tc_detach()
791 req.tc.tcm_family = AF_UNSPEC; in bpf_tc_query()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_wired_common.c101 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in driver_wired_multi()
124 sap->sa_family = AF_UNSPEC; in driver_wired_multi()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_wired_common.c101 ifr.ifr_hwaddr.sa_family = AF_UNSPEC; in driver_wired_multi()
124 sap->sa_family = AF_UNSPEC; in driver_wired_multi()

123456789