/external/python/cpython3/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 …]
|
D | addrinfo.h | 131 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/external/python/cpython2/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 …]
|
D | addrinfo.h | 131 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_query.hpp | 69 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 106 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query() 154 hints_.ai_protocol = endpoint.protocol().protocol(); in basic_resolver_query() 205 hints_.ai_protocol = protocol.protocol(); in basic_resolver_query()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 148 if (hints->ai_protocol) in malloc_ai() 149 ai->ai_protocol = hints->ai_protocol; in malloc_ai()
|
D | fake-rfc2553.h | 142 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/external/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()
|
/external/swiftshader/src/System/ |
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()
|
/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_() 837 res->ai_protocol = hints->ai_protocol; in evutil_new_addrinfo_() 924 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols() 926 hints->ai_protocol = IPPROTO_UDP; in evutil_getaddrinfo_infer_protocols() 928 hints->ai_protocol = IPPROTO_TCP; in evutil_getaddrinfo_infer_protocols() 932 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols() 933 if (hints->ai_protocol == IPPROTO_UDP) in evutil_getaddrinfo_infer_protocols() 935 else if (hints->ai_protocol == IPPROTO_TCP) in evutil_getaddrinfo_infer_protocols() [all …]
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/ |
D | ignite_plain_client_windows.cc | 56 hints.ai_protocol = IPPROTO_TCP; 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 | 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()
|
D | ns-tcpserver.c | 214 hints.ai_protocol = IPPROTO_TCP; in create_listen_socket() 230 res->ai_socktype, res->ai_protocol); in create_listen_socket()
|
/external/toybox/toys/pending/ |
D | wget.c | 86 hints.ai_protocol = 0; in conn_svr() 93 if ((sock = socket(rp->ai_family, rp->ai_socktype, rp->ai_protocol)) in conn_svr()
|
/external/libpcap/ |
D | nametoaddr.c | 189 hints.ai_protocol = IPPROTO_TCP; /*not really*/ in pcap_nametoaddrinfo() 306 hints.ai_protocol = IPPROTO_TCP; in pcap_nametoport() 350 hints.ai_protocol = IPPROTO_UDP; in pcap_nametoport()
|
/external/toybox/lib/ |
D | net.c | 28 info.ai_protocol = protocol; in xgetaddrinfo() 48 ai->ai_protocol); in xconnbind()
|
/external/curl/lib/ |
D | curl_addrinfo.h | 55 int ai_protocol; member
|
D | curl_addrinfo.c | 170 ca->ai_protocol = ai->ai_protocol; in Curl_getaddrinfo_ex()
|
/external/libevent/test/ |
D | regress_util.c | 801 if (ai->ai_protocol == protocol) in ai_find_by_protocol() 821 tt_int_op(ai->ai_protocol, ==, protocol); in test_ai_eq_() 945 hints.ai_protocol = IPPROTO_UDP; in test_evutil_getaddrinfo() 957 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo() 1075 hints.ai_protocol = IPPROTO_TCP; in test_evutil_getaddrinfo_live() 1083 tt_int_op(ai->ai_protocol, ==, IPPROTO_TCP); in test_evutil_getaddrinfo_live()
|
/external/boringssl/src/crypto/bio/ |
D | socket_helper.c | 72 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in OPENSSL_MSVC_PRAGMA()
|
/external/openssh/regress/ |
D | netcat.c | 334 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in main() 362 proxyhints.ai_protocol = IPPROTO_TCP; in main() 618 res0->ai_protocol)) < 0) in remote_connect() 637 ahints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in remote_connect() 730 res0->ai_protocol)) < 0) in local_listen()
|