Home
last modified time | relevance | path

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

/system/core/libcutils/
Dsocket_network_client_unix.c50 hints.ai_family = AF_UNSPEC; in socket_network_client_timeout()
65 int s = socket(addr->ai_family, type, addr->ai_protocol); in socket_network_client_timeout()
Dsocket_network_client_windows.c54 SOCKET sock = socket(address->ai_family, address->ai_socktype, in socket_network_client()
/system/extras/multinetwork/
Ddnschk.cpp39 .ai_family = args.family, in main()
Dhttpurl.cpp99 .ai_family = args.family, in parseUrl()
/system/netd/server/
DDnsProxyListener.cpp198 sendBE32(c, ai->ai_family) && in sendaddrinfo()
336 int ai_family = atoi(argv[4]); in runCommand() local
345 if (ai_flags != -1 || ai_family != -1 || in runCommand()
349 hints->ai_family = ai_family; in runCommand()
DNetdConstants.cpp202 switch (res[0].ai_family) { in parsePrefix()
232 *family = res[0].ai_family; in parsePrefix()
DSockDiag.cpp152 if (res->ai_family == AF_INET && family == AF_INET) { in sendDumpRequest()
156 } else if (res->ai_family == AF_INET && family == AF_INET6) { in sendDumpRequest()
161 } else if (res->ai_family == AF_INET6 && family == AF_INET6) { in sendDumpRequest()
/system/netd/tests/
Dnetd_test.cpp460 hints.ai_family = AF_INET; in TEST_F()
523 hints.ai_family = AF_INET6; in TEST_F()
580 hints.ai_family = AF_INET6; in TEST_F()
648 hints.ai_family = AF_INET6; in TEST_F()
Dbinder_test.cpp457 .ai_family = AF_UNSPEC, in interfaceHasAddress()
/system/netd/tests/dns_responder/
Ddns_responder.cpp572 .ai_family = AF_UNSPEC, in startServer()
586 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in startServer()
/system/core/libnetutils/
Difc_utils.c108 hints.ai_family = AF_UNSPEC; in string_to_ip()
/system/core/adb/
Dsysdeps_win32.cpp846 hints.ai_family = AF_UNSPEC; in network_connect()
878 SOCKET s = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); in network_connect()