Home
last modified time | relevance | path

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

123

/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_query.hpp69 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/libevent/
Devutil.c654 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo()
659 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP; in evutil_new_addrinfo()
663 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo()
684 res->ai_protocol = hints->ai_protocol; in evutil_new_addrinfo()
771 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
773 hints->ai_protocol = IPPROTO_UDP; in evutil_getaddrinfo_infer_protocols()
775 hints->ai_protocol = IPPROTO_TCP; in evutil_getaddrinfo_infer_protocols()
779 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols()
780 if (hints->ai_protocol == IPPROTO_UDP) in evutil_getaddrinfo_infer_protocols()
782 else if (hints->ai_protocol == IPPROTO_TCP) in evutil_getaddrinfo_infer_protocols()
[all …]
/external/toybox/lib/
Dnet.c25 info.ai_protocol = protocol; in xconnect()
36 ai->ai_protocol); in xconnect()
/external/libpcap/Win32/Src/
Dgetaddrinfo.c328 pai->ai_protocol = ANY;
359 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
368 && pai->ai_protocol != ex->e_protocol) {
411 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex)))
418 if (pai->ai_protocol == ANY && ex->e_protocol != ANY)
419 pai->ai_protocol = ex->e_protocol;
469 if (!MATCH(pai->ai_protocol, ex->e_protocol,
478 if (pai->ai_protocol == ANY && ex->e_protocol != ANY)
479 pai->ai_protocol = ex->e_protocol;
/external/netcat/
Dnetcat.c334 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in main()
363 proxyhints.ai_protocol = IPPROTO_TCP; in main()
601 res0->ai_protocol)) < 0) in remote_connect()
623 ahints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in remote_connect()
716 res0->ai_protocol)) < 0) in local_listen()
/external/c-ares/
Dares_ipv6.h41 int ai_protocol; member
/external/curl/lib/
Dcurl_addrinfo.h55 int ai_protocol; member
Dcurl_addrinfo.c161 ca->ai_protocol = ai->ai_protocol; in Curl_getaddrinfo_ex()
/external/tcpdump/missing/
Daddrinfo.h73 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
/external/libpcap/Win32/Include/
Daddrinfo.h73 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
Dip6_misc.h154 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
/external/boringssl/src/crypto/bio/
Dsocket_helper.c69 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in bio_ip_and_port_to_socket_and_addr()
/external/netperf/src/missing/
Dgetaddrinfo.h214 int ai_protocol; member
Dgetaddrinfo.c468 new_res->ai_protocol = hints->ai_protocol;
/external/netperf/src/
Dnettest_sdp.c298 local_res->ai_protocol = 0; in send_sdp_stream()
995 local_res->ai_protocol = 0; in send_sdp_maerts()
1671 local_res->ai_protocol = 0; in recv_sdp_stream()
2006 local_res->ai_protocol = 0; in recv_sdp_maerts()
2439 local_res->ai_protocol = 0; in send_sdp_rr()
3111 local_res->ai_protocol = 0; in recv_sdp_rr()
Dnettest_bsd.c683 hints.ai_protocol = protocol; in complete_addrinfo()
726 (hints.ai_protocol == 0)) { in complete_addrinfo()
732 hints.ai_protocol = IPPROTO_TCP; in complete_addrinfo()
735 if (hints.ai_protocol == IPPROTO_DCCP) { in complete_addrinfo()
737 hints.ai_protocol = 0; in complete_addrinfo()
742 if (hints.ai_protocol == IPPROTO_SCTP) { in complete_addrinfo()
744 hints.ai_protocol = 0; in complete_addrinfo()
793 (temp_res->ai_protocol != protocol)) { in complete_addrinfo()
798 temp_res->ai_protocol, in complete_addrinfo()
802 temp_res->ai_protocol = protocol; in complete_addrinfo()
[all …]
/external/iputils/
Dtracepath6.c439 hints.ai_protocol = IPPROTO_UDP; in main()
458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in main()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp218 int sockd = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, pAddrInfo->ai_protocol); in grabFrame()
/external/libvncserver/libvncclient/
Dsockets.c385 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in ConnectClientToTcpAddr6()
563 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) { in ListenAtTcpPortAndAddress()
/external/boringssl/src/tool/
Dtransport_common.cc99 socket(result->ai_family, result->ai_socktype, result->ai_protocol); in Connect()
/external/toybox/toys/pending/
Dhost.c124 int s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in host_main()
/external/libpcap/
Dnametoaddr.c127 hints.ai_protocol = IPPROTO_TCP; /*not really*/ in pcap_nametoaddrinfo()
/external/mtpd/
Dmtpd.c282 int s = socket(r->ai_family, r->ai_socktype, r->ai_protocol); in create_socket()
/external/libvncserver/libvncserver/
Dsockets.c915 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) { in rfbListenOnTCP6Port()
987 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) in rfbConnectToTcpAddr()
/external/libevent/include/event2/
Dutil.h517 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member

123