Home
last modified time | relevance | path

Searched refs:ai_addrlen (Results 1 – 25 of 72) sorted by relevance

123

/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_query.hpp70 hints_.ai_addrlen = 0; in basic_resolver_query()
107 hints_.ai_addrlen = 0; in basic_resolver_query()
155 hints_.ai_addrlen = 0; in basic_resolver_query()
206 hints_.ai_addrlen = 0; in basic_resolver_query()
Dbasic_resolver_iterator.hpp91 endpoint.resize(static_cast<std::size_t>(address_info->ai_addrlen)); in create()
93 address_info->ai_addrlen); in create()
/external/boringssl/src/crypto/bio/
Dsocket_helper.c62 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) { in bio_ip_and_port_to_socket_and_addr()
66 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in bio_ip_and_port_to_socket_and_addr()
67 *out_addr_length = cur->ai_addrlen; in bio_ip_and_port_to_socket_and_addr()
/external/curl/lib/
Dcurl_addrinfo.c143 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
147 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
162 ca->ai_addrlen = (curl_socklen_t)ss_size; in Curl_getaddrinfo_ex()
325 ai->ai_addrlen = (curl_socklen_t)ss_size; in Curl_he2ai()
503 ai->ai_addrlen = (curl_socklen_t) sizeof(struct sockaddr_un); in Curl_unix2addr()
Dcurl_addrinfo.h56 curl_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */ member
/external/c-ares/
Dares_ipv6.h42 ares_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */ member
/external/tcpdump/missing/
Daddrinfo.h74 size_t ai_addrlen; /* length of ai_addr */ member
/external/libpcap/Win32/Include/
Daddrinfo.h74 size_t ai_addrlen; /* length of ai_addr */ member
Dip6_misc.h155 size_t ai_addrlen; /* length of ai_addr */ member
/external/curl/tests/unit/
Dunit1305.c98 ai->ai_addrlen = ss_size; in fake_ai()
/external/toybox/lib/
Dnet.c37 if (!connect(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnect()
/external/netperf/src/missing/
Dgetaddrinfo.h215 socklen_t ai_addrlen; member
/external/deqp/framework/delibs/deutil/
DdeSocket.c304 if (bsdAddrBufSize < (size_t)result->ai_addrlen) in deSocketAddressToBsdAddress()
311 *bsdAddrLen = (NativeSocklen)result->ai_addrlen; in deSocketAddressToBsdAddress()
313 deMemcpy(bsdAddr, result->ai_addr, (size_t)result->ai_addrlen); in deSocketAddressToBsdAddress()
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y426 newaddr = malloc(res->ai_addrlen);
432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
/external/netcat/
Dnetcat.c629 ares->ai_addrlen) < 0) in remote_connect()
636 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect()
738 res0->ai_addrlen) == 0) in local_listen()
/external/toybox/toys/pending/
Dtcpsvd.c250 if ((bind(sockfd, rp->ai_addr, rp->ai_addrlen)) < 0) perror_exit("Bind failed"); in create_bind_sock()
251 if(haddr) memcpy(haddr, rp->ai_addr, rp->ai_addrlen); in create_bind_sock()
Dftpget.c145 memcpy(TT.buf, result->ai_addr, result->ai_addrlen); in get_sockaddr()
Dhost.c125 if (s < 0 || connect(s, ai->ai_addr, ai->ai_addrlen) < 0) in host_main()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp229 if (connect(sockd, pAddrInfo->ai_addr, pAddrInfo->ai_addrlen) < 0 || errno != 0) in grabFrame()
/external/netperf/src/
Dnettest_sctp.c604 remote_res->ai_addrlen) == INVALID_SOCKET) { in send_sctp_stream()
1740 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_sctp_stream_1toMany()
1854 remote_res->ai_addrlen, in send_sctp_stream_1toMany()
1930 remote_res->ai_addrlen, 0, MSG_EOF, 0, 0, 0); in send_sctp_stream_1toMany()
2807 remote_res->ai_addrlen) <0){ in send_sctp_rr()
3861 remote_res->ai_addrlen) < 0){ in send_sctp_rr_1toMany()
3941 remote_res->ai_addrlen, in send_sctp_rr_1toMany()
3973 remote_res->ai_addrlen, in send_sctp_rr_1toMany()
/external/libpcap/Win32/Src/
Dgetaddrinfo.c329 pai->ai_addrlen = 0;
338 if (hints->ai_addrlen || hints->ai_canonname ||
1014 ai->ai_addrlen = afd->a_socklen;
/external/libvncserver/libvncclient/
Dsockets.c388 if (connect(sock, res->ai_addr, res->ai_addrlen) == 0) in ConnectClientToTcpAddr6()
584 if (bind(sock, p->ai_addr, p->ai_addrlen) < 0) { in ListenAtTcpPortAndAddress()
/external/iproute2/tipc/
Dbearer.c203 mnl_attr_put(nlh, TIPC_NLA_UDP_LOCAL, loc->ai_addrlen, loc->ai_addr); in enable_udp_bearer()
204 mnl_attr_put(nlh, TIPC_NLA_UDP_REMOTE, rem->ai_addrlen, rem->ai_addr); in enable_udp_bearer()
/external/boringssl/src/tool/
Dtransport_common.cc124 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
/external/libxml2/
Dnanohttp.c1087 if (res->ai_addrlen > sizeof(sockin)) { in xmlNanoHTTPConnectHost()
1092 memcpy (&sockin, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost()
1097 if (res->ai_addrlen > sizeof(sockin6)) { in xmlNanoHTTPConnectHost()
1102 memcpy (&sockin6, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost()

123