/third_party/python/Modules/ |
D | getaddrinfo.c | 268 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/ |
D | basic_resolver_query.hpp | 72 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/ |
D | basic_resolver_query.hpp | 72 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/ |
D | getaddrinfo.c | 58 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/ |
D | Socket.cpp | 43 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/ |
D | Socket.cpp | 42 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/ |
D | conmon.c | 65 ai->ai_socktype != cai->ai_socktype && in lws_conmon_append_copy_new_dns_results()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/ |
D | minimal-raw-adopt-tcp.c | 143 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/ |
D | getaddrinfo.c | 243 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/ |
D | curl_addrinfo.c | 162 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()
|
D | curl_addrinfo.h | 53 int ai_socktype; member
|
/third_party/ffmpeg/libavformat/ |
D | os_support.c | 112 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/ |
D | getaddrinfo_01.c | 59 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/ |
D | net_sockets.c | 186 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/ |
D | ns-common.c | 446 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()
|
D | ns-udpclient.c | 260 hints.ai_socktype = SOCK_DGRAM; in main() 274 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-tcpclient.c | 255 hints.ai_socktype = SOCK_STREAM; in main() 270 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-udpserver.c | 280 hints.ai_socktype = SOCK_DGRAM; in main() 296 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-udpsender.c | 299 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/ |
D | minimal-raw-netcat.c | 187 h.ai_socktype = SOCK_STREAM; in main() 207 sock.sockfd = socket(rp->ai_family, rp->ai_socktype, in main()
|
/third_party/musl/src/network/ |
D | getaddrinfo.c | 34 socktype = hint->ai_socktype; in getaddrinfo() 117 .ai_socktype = ports[j].socktype, in getaddrinfo()
|
/third_party/alsa-utils/seq/aseqnet/ |
D | aseqnet.c | 358 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/ |
D | net.c | 27 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/ |
D | ares_getaddrinfo.c | 367 ai->nodes->ai_socktype = hints->ai_socktype; in fake_addrinfo() 390 next->ai_socktype = hquery->hints.ai_socktype; in end_hquery()
|
D | ares_ipv6.h | 47 int ai_socktype; member
|