Home
last modified time | relevance | path

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

1234

/external/netperf/src/missing/
Dgetaddrinfo.c365 if (hints->ai_socktype != SOCK_DGRAM
366 && hints->ai_socktype != SOCK_STREAM
367 && hints->ai_socktype != 0) {
384 if (hints->ai_socktype == SOCK_DGRAM)
386 else if (hints->ai_socktype == SOCK_STREAM)
388 else if (hints->ai_socktype == 0)
467 new_res->ai_socktype = hints->ai_socktype;
Dgetaddrinfo.h213 int ai_socktype; member
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_query.hpp68 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/libpcap/Win32/Src/
Dgetaddrinfo.c327 pai->ai_socktype = ANY;
359 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
367 if (pai->ai_socktype == ex->e_socktype
409 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex)))
416 if (pai->ai_socktype == ANY && ex->e_socktype != ANY)
417 pai->ai_socktype = ex->e_socktype;
465 if (!MATCH(pai->ai_socktype, ex->e_socktype,
476 if (pai->ai_socktype == ANY && ex->e_socktype != ANY)
477 pai->ai_socktype = ex->e_socktype;
1054 switch (ai->ai_socktype) {
[all …]
/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()
683 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo()
771 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
772 if (hints->ai_socktype == SOCK_DGRAM) in evutil_getaddrinfo_infer_protocols()
774 else if (hints->ai_socktype == SOCK_STREAM) in evutil_getaddrinfo_infer_protocols()
779 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols()
781 hints->ai_socktype = SOCK_DGRAM; in evutil_getaddrinfo_infer_protocols()
783 hints->ai_socktype = SOCK_STREAM; in evutil_getaddrinfo_infer_protocols()
[all …]
/external/boringssl/src/crypto/bio/
Dsocket_helper.c50 hint.ai_socktype = SOCK_STREAM; in bio_ip_and_port_to_socket_and_addr()
69 *out_sock = socket(cur->ai_family, cur->ai_socktype, cur->ai_protocol); in bio_ip_and_port_to_socket_and_addr()
/external/toybox/lib/
Dnet.c24 info.ai_socktype = socktype; in xconnect()
35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnect()
/external/curl/lib/
Dcurl_addrinfo.c160 ca->ai_socktype = ai->ai_socktype; in Curl_getaddrinfo_ex()
323 ai->ai_socktype = SOCK_STREAM; in Curl_he2ai()
502 ai->ai_socktype = SOCK_STREAM; /* assume reliable transport for HTTP */ in Curl_unix2addr()
Dcurl_addrinfo.h54 int ai_socktype; member
Dhostip4.c145 hints.ai_socktype = SOCK_STREAM;
Dhostip6.c197 hints.ai_socktype = conn->socktype; in Curl_getaddrinfo()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp127 hints.ai_socktype = SOCK_STREAM; in open()
218 int sockd = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, pAddrInfo->ai_protocol); in grabFrame()
/external/netcat/
Dnetcat.c333 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in main()
362 proxyhints.ai_socktype = SOCK_STREAM; in main()
600 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect()
622 ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in remote_connect()
715 if ((s = socket(res0->ai_family, res0->ai_socktype, in local_listen()
/external/libvncserver/libvncclient/
Dsockets.c374 hints.ai_socktype = SOCK_STREAM; in ConnectClientToTcpAddr6()
385 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in ConnectClientToTcpAddr6()
550 hints.ai_socktype = SOCK_STREAM; in ListenAtTcpPortAndAddress()
563 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) { in ListenAtTcpPortAndAddress()
/external/c-ares/
Dares_ipv6.h40 int ai_socktype; member
/external/boringssl/src/tool/
Dtransport_common.cc87 hint.ai_socktype = SOCK_STREAM; in Connect()
99 socket(result->ai_family, result->ai_socktype, result->ai_protocol); in Connect()
/external/tcpdump/missing/
Daddrinfo.h72 int ai_socktype; /* SOCK_xxx */ member
/external/toybox/toys/pending/
Dhost.c120 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/Win32/Include/
Daddrinfo.h72 int ai_socktype; /* SOCK_xxx */ member
Dip6_misc.h153 int ai_socktype; /* SOCK_xxx */ member
/external/curl/tests/server/
Dresolve.c136 hints.ai_socktype = SOCK_STREAM; in main()
/external/mtpd/
Dmtpd.c266 .ai_socktype = type, in create_socket()
282 int s = socket(r->ai_family, r->ai_socktype, r->ai_protocol); in create_socket()
/external/libvncserver/libvncserver/
Dsockets.c905 hints.ai_socktype = SOCK_STREAM; in rfbListenOnTCP6Port()
915 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) { in rfbListenOnTCP6Port()
978 hints.ai_socktype = SOCK_STREAM; in rfbConnectToTcpAddr()
987 if ((sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) < 0) in rfbConnectToTcpAddr()
/external/ipsec-tools/src/racoon/
Dkmpstat.c218 hint.ai_socktype = SOCK_STREAM;
/external/iputils/
Dtracepath6.c438 hints.ai_socktype = SOCK_DGRAM; in main()
458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in main()

1234