/third_party/python/Modules/ |
D | getaddrinfo.c | 269 pai->ai_protocol = GAI_ANY; in getaddrinfo() 298 switch (pai->ai_protocol) { in getaddrinfo() 315 if (pai->ai_protocol != IPPROTO_UDP && in getaddrinfo() 316 pai->ai_protocol != GAI_ANY) in getaddrinfo() 318 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo() 321 if (pai->ai_protocol != IPPROTO_TCP && in getaddrinfo() 322 pai->ai_protocol != GAI_ANY) in getaddrinfo() 324 pai->ai_protocol = IPPROTO_TCP; in getaddrinfo() 340 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo() 368 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo() [all …]
|
/third_party/boost/boost/asio/ip/ |
D | basic_resolver_query.hpp | 73 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 110 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query() 158 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 209 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query()
|
/third_party/boost/libs/asio/include/boost/asio/ip/ |
D | basic_resolver_query.hpp | 73 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 110 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query() 158 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 209 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query()
|
/third_party/libuv/src/win/ |
D | getaddrinfo.c | 59 int ai_protocol; member 165 addrinfo_ptr->ai_protocol = addrinfow_ptr->ai_protocol; in uv__getaddrinfo_done() 366 req->addrinfow->ai_protocol = hints->ai_protocol; in uv_getaddrinfo()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Socket.cpp | 44 hints.ai_protocol = IPPROTO_TCP; 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 | 43 hints.ai_protocol = IPPROTO_TCP; 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 | 64 ai->ai_protocol != cai->ai_protocol && in lws_conmon_append_copy_new_dns_results()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/ |
D | minimal-raw-adopt-tcp.c | 144 h.ai_protocol = IPPROTO_TCP; in main() 153 sock.sockfd = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol); in main()
|
/third_party/musl/src/network/ |
D | res_cache.c | 101 .ai_protocol = (int) addr_info[i].ai_protocol, in dns_get_addr_info_from_netsys_cache()
|
D | getaddrinfo.c | 33 proto = hint->ai_protocol; in getaddrinfo() 118 .ai_protocol = ports[j].proto, in getaddrinfo()
|
/third_party/ffmpeg/libavformat/ |
D | os_support.c | 115 ai->ai_protocol = IPPROTO_TCP; in ff_getaddrinfo() 118 ai->ai_protocol = IPPROTO_UDP; in ff_getaddrinfo() 121 ai->ai_protocol = 0; in ff_getaddrinfo()
|
/third_party/mbedtls/library/ |
D | net_sockets.c | 187 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_connect() 197 cur->ai_protocol ); in mbedtls_net_connect() 234 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_bind() 246 cur->ai_protocol ); in mbedtls_net_bind()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-common.c | 447 hints.ai_protocol = IPPROTO_UDP; in get_maddrinfo() 545 hints.ai_protocol = IPPROTO_UDP; in create_source_filter() 552 hints.ai_protocol = IPPROTO_UDP; in create_source_filter()
|
D | ns-udpclient.c | 261 hints.ai_protocol = IPPROTO_UDP; in main() 274 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-tcpclient.c | 256 hints.ai_protocol = IPPROTO_TCP; in main() 270 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-udpserver.c | 281 hints.ai_protocol = IPPROTO_UDP; in main() 296 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
D | ns-udpsender.c | 300 hints.ai_protocol = IPPROTO_UDP; 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 | 188 h.ai_protocol = IPPROTO_TCP; in main() 208 rp->ai_protocol); in main()
|
/third_party/toybox/lib/ |
D | net.c | 28 info.ai_protocol = protocol; in xgetaddrinfo() 48 ai->ai_protocol); in xconnbind()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_getaddrinfo.c | 368 ai->nodes->ai_protocol = hints->ai_protocol; in fake_addrinfo() 391 next->ai_protocol = hquery->hints.ai_protocol; in end_hquery()
|
D | ares_ipv6.h | 48 int ai_protocol; member
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | getaddrinfo.c | 242 hint.ai_protocol = IPPROTO_UDP; in getaddrinfo_1300() 258 hint.ai_protocol = IPPROTO_TCP; in getaddrinfo_1400()
|
/third_party/curl/lib/ |
D | curl_addrinfo.h | 54 int ai_protocol; member
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/ |
D | socket.cc | 95 hints.ai_protocol = IPPROTO_TCP; in create() 109 ::socket(info->ai_family, info->ai_socktype, info->ai_protocol); in create()
|
/third_party/lwip/src/include/lwip/ |
D | netdb.h | 107 int ai_protocol; /* Protocol of socket. */ member
|