Home
last modified time | relevance | path

Searched refs:ai_socktype (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/python/Modules/
Dgetaddrinfo.c268 pai->ai_socktype = GAI_ANY; in getaddrinfo()
296 switch (pai->ai_socktype) { in getaddrinfo()
302 pai->ai_socktype = SOCK_DGRAM; in getaddrinfo()
305 pai->ai_socktype = SOCK_STREAM; in getaddrinfo()
308 pai->ai_socktype = SOCK_RAW; in getaddrinfo()
337 if (pai->ai_socktype == GAI_ANY) { in getaddrinfo()
339 pai->ai_socktype = SOCK_DGRAM; in getaddrinfo()
348 switch (pai->ai_socktype) { in getaddrinfo()
365 if (pai->ai_socktype == GAI_ANY) { in getaddrinfo()
367 pai->ai_socktype = SOCK_DGRAM; in getaddrinfo()
[all …]
/third_party/boost/boost/asio/ip/
Dbasic_resolver_query.hpp72 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
109 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
157 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
208 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
/third_party/boost/libs/asio/include/boost/asio/ip/
Dbasic_resolver_query.hpp72 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
109 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
157 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query()
208 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
/third_party/libuv/src/win/
Dgetaddrinfo.c58 int ai_socktype; member
164 addrinfo_ptr->ai_socktype = addrinfow_ptr->ai_socktype; in uv__getaddrinfo_done()
365 req->addrinfow->ai_socktype = hints->ai_socktype; in uv_getaddrinfo()
/third_party/skia/third_party/externals/swiftshader/src/System/
DSocket.cpp43 hints.ai_socktype = SOCK_STREAM; in Socket()
52 socket = ::socket(info->ai_family, info->ai_socktype, info->ai_protocol); in Socket()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSocket.cpp42 hints.ai_socktype = SOCK_STREAM; in Socket()
51 socket = ::socket(info->ai_family, info->ai_socktype, info->ai_protocol); in Socket()
/third_party/libwebsockets/lib/core-net/client/
Dconmon.c65 ai->ai_socktype != cai->ai_socktype && in lws_conmon_append_copy_new_dns_results()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c143 h.ai_socktype = SOCK_STREAM; in main()
153 sock.sockfd = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol); in main()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dgetaddrinfo.c243 hint.ai_socktype = SOCK_STREAM; in getaddrinfo_1300()
259 hint.ai_socktype = SOCK_DGRAM; in getaddrinfo_1400()
274 hint.ai_socktype = SOCK_RAW; in getaddrinfo_1500()
/third_party/curl/lib/
Dcurl_addrinfo.c162 ca->ai_socktype = ai->ai_socktype; in Curl_getaddrinfo_ex()
312 ai->ai_socktype = SOCK_STREAM; in Curl_he2ai()
496 ai->ai_socktype = SOCK_STREAM; /* assume reliable transport for HTTP */ in Curl_unix2addr()
Dcurl_addrinfo.h53 int ai_socktype; member
/third_party/ffmpeg/libavformat/
Dos_support.c112 ai->ai_socktype = hints ? hints->ai_socktype : 0; in ff_getaddrinfo()
113 switch (ai->ai_socktype) { in ff_getaddrinfo()
/third_party/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c59 got_tcp |= p->ai_socktype == SOCK_STREAM; in verify_res()
60 got_udp |= p->ai_socktype == SOCK_DGRAM; in verify_res()
120 hints.ai_socktype = type; in check_addrinfo()
/third_party/mbedtls/library/
Dnet_sockets.c186 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
196 ctx->fd = (int) socket( cur->ai_family, cur->ai_socktype, in mbedtls_net_connect()
233 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
245 ctx->fd = (int) socket( cur->ai_family, cur->ai_socktype, in mbedtls_net_bind()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-common.c446 hints.ai_socktype = SOCK_DGRAM; in get_maddrinfo()
544 hints.ai_socktype = SOCK_DGRAM; in create_source_filter()
551 hints.ai_socktype = SOCK_DGRAM; in create_source_filter()
Dns-udpclient.c260 hints.ai_socktype = SOCK_DGRAM; in main()
274 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-tcpclient.c255 hints.ai_socktype = SOCK_STREAM; in main()
270 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-udpserver.c280 hints.ai_socktype = SOCK_DGRAM; in main()
296 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-udpsender.c299 hints.ai_socktype = SOCK_DGRAM; in create_udp_datagram()
314 udp_p->sd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in create_udp_datagram()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-netcat/
Dminimal-raw-netcat.c187 h.ai_socktype = SOCK_STREAM; in main()
207 sock.sockfd = socket(rp->ai_family, rp->ai_socktype, in main()
/third_party/musl/src/network/
Dgetaddrinfo.c34 socktype = hint->ai_socktype; in getaddrinfo()
117 .ai_socktype = ports[j].socktype, in getaddrinfo()
/third_party/alsa-utils/seq/aseqnet/
Daseqnet.c358 hints.ai_socktype = SOCK_STREAM; in init_server()
366 if ((sockfd = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol)) < 0){ in init_server()
443 hints.ai_socktype = SOCK_STREAM; in init_client()
451 if ((fd = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol)) < 0){ in init_client()
/third_party/toybox/lib/
Dnet.c27 info.ai_socktype = socktype; in xgetaddrinfo()
47 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnbind()
/third_party/node/deps/cares/src/lib/
Dares_getaddrinfo.c367 ai->nodes->ai_socktype = hints->ai_socktype; in fake_addrinfo()
390 next->ai_socktype = hquery->hints.ai_socktype; in end_hquery()
Dares_ipv6.h47 int ai_socktype; member

123456