Home
last modified time | relevance | path

Searched refs:ai_protocol (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/python/Modules/
Dgetaddrinfo.c269 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/
Dbasic_resolver_query.hpp73 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/
Dbasic_resolver_query.hpp73 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/
Dgetaddrinfo.c59 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/
DSocket.cpp44 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/
DSocket.cpp43 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/
Dconmon.c64 ai->ai_protocol != cai->ai_protocol && in lws_conmon_append_copy_new_dns_results()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c144 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/
Dres_cache.c101 .ai_protocol = (int) addr_info[i].ai_protocol, in dns_get_addr_info_from_netsys_cache()
Dgetaddrinfo.c33 proto = hint->ai_protocol; in getaddrinfo()
118 .ai_protocol = ports[j].proto, in getaddrinfo()
/third_party/ffmpeg/libavformat/
Dos_support.c115 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/
Dnet_sockets.c187 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/
Dns-common.c447 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()
Dns-udpclient.c261 hints.ai_protocol = IPPROTO_UDP; in main()
274 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-tcpclient.c256 hints.ai_protocol = IPPROTO_TCP; in main()
270 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-udpserver.c281 hints.ai_protocol = IPPROTO_UDP; in main()
296 sock_fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
Dns-udpsender.c300 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/
Dminimal-raw-netcat.c188 h.ai_protocol = IPPROTO_TCP; in main()
208 rp->ai_protocol); in main()
/third_party/toybox/lib/
Dnet.c28 info.ai_protocol = protocol; in xgetaddrinfo()
48 ai->ai_protocol); in xconnbind()
/third_party/node/deps/cares/src/lib/
Dares_getaddrinfo.c368 ai->nodes->ai_protocol = hints->ai_protocol; in fake_addrinfo()
391 next->ai_protocol = hquery->hints.ai_protocol; in end_hquery()
Dares_ipv6.h48 int ai_protocol; member
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dgetaddrinfo.c242 hint.ai_protocol = IPPROTO_UDP; in getaddrinfo_1300()
258 hint.ai_protocol = IPPROTO_TCP; in getaddrinfo_1400()
/third_party/curl/lib/
Dcurl_addrinfo.h54 int ai_protocol; member
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Dsocket.cc95 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/
Dnetdb.h107 int ai_protocol; /* Protocol of socket. */ member

1234