/external/python/cpython2/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 …]
|
/external/python/cpython3/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 …]
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_query.hpp | 68 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query() 105 hints_.ai_socktype = protocol.type(); in basic_resolver_query() 153 hints_.ai_socktype = endpoint.protocol().type(); in basic_resolver_query() 204 hints_.ai_socktype = protocol.type(); in basic_resolver_query()
|
/external/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 204 hints.ai_socktype = SOCK_STREAM; in gaiv4() 272 hints.ai_socktype = SOCK_STREAM; in gaiv4() 326 hints.ai_socktype = SOCK_STREAM; in gaiv4() 405 hints.ai_socktype = SOCK_STREAM; in gaiv4() 421 hints.ai_socktype = 0; in gaiv4() 435 got_tcp |= pai->ai_socktype == SOCK_STREAM; in gaiv4() 436 got_udp |= pai->ai_socktype == SOCK_DGRAM; in gaiv4() 663 hints.ai_socktype = SOCK_STREAM; in gaiv6() 732 hints.ai_socktype = SOCK_STREAM; in gaiv6() 785 hints.ai_socktype = SOCK_STREAM; in gaiv6() [all …]
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 143 if (hints->ai_socktype) in malloc_ai() 144 ai->ai_socktype = hints->ai_socktype; in malloc_ai() 146 ai->ai_socktype = SOCK_STREAM; in malloc_ai()
|
/external/swiftshader/src/System/ |
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()
|
/external/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()
|
/external/libevent/ |
D | evutil.c | 807 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo_() 812 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP; in evutil_new_addrinfo_() 816 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo_() 836 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo_() 924 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols() 925 if (hints->ai_socktype == SOCK_DGRAM) in evutil_getaddrinfo_infer_protocols() 927 else if (hints->ai_socktype == SOCK_STREAM) in evutil_getaddrinfo_infer_protocols() 932 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols() 934 hints->ai_socktype = SOCK_DGRAM; in evutil_getaddrinfo_infer_protocols() 936 hints->ai_socktype = SOCK_STREAM; in evutil_getaddrinfo_infer_protocols() [all …]
|
/external/boringssl/src/crypto/bio/ |
D | socket_helper.c | 53 hint.ai_socktype = SOCK_STREAM; in OPENSSL_MSVC_PRAGMA() 72 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in OPENSSL_MSVC_PRAGMA()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 169 ca->ai_socktype = ai->ai_socktype; in Curl_getaddrinfo_ex() 337 ai->ai_socktype = SOCK_STREAM; in Curl_he2ai() 525 ai->ai_socktype = SOCK_STREAM; /* assume reliable transport for HTTP */ in Curl_unix2addr()
|
D | curl_addrinfo.h | 54 int ai_socktype; member
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/ |
D | ignite_plain_client_windows.cc | 55 hints.ai_socktype = SOCK_STREAM; in Connect() 65 sock_ = socket(ptr->ai_family, ptr->ai_socktype, ptr->ai_protocol); in Connect()
|
/external/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-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-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-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()
|
/external/iperf3/src/ |
D | net.c | 124 hints.ai_socktype = proto; in netdial() 131 hints.ai_socktype = proto; in netdial() 239 hints.ai_socktype = proto; in netannounce()
|
D | iperf_sctp.c | 179 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_listen() 268 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_connect() 277 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_connect() 530 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_bindx()
|
/external/toybox/toys/pending/ |
D | wget.c | 84 hints.ai_socktype = SOCK_STREAM; in conn_svr() 93 if ((sock = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol)) in conn_svr()
|
D | host.c | 120 struct addrinfo ns_hints = { .ai_socktype = SOCK_DGRAM }; in host_main() 124 int s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in host_main()
|
/external/libpcap/ |
D | sockutils.c | 327 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); 407 if (addrinfo->ai_socktype == SOCK_STREAM) 607 if (((*addrinfo)->ai_socktype == SOCK_STREAM) && 1165 hints.ai_socktype = SOCK_STREAM;
|
D | nametoaddr.c | 188 hints.ai_socktype = SOCK_STREAM; /*not really*/ in pcap_nametoaddrinfo() 305 hints.ai_socktype = SOCK_STREAM; in pcap_nametoport() 349 hints.ai_socktype = SOCK_DGRAM; in pcap_nametoport()
|
/external/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()
|
/external/curl/tests/server/ |
D | resolve.c | 129 hints.ai_socktype = SOCK_STREAM; in main()
|