Home
last modified time | relevance | path

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

12345

/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c92 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4()
106 pai->ai_family, pai->ai_addrlen, psin, in gaiv4()
169 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4()
183 pai->ai_family, pai->ai_addrlen, psin, in gaiv4()
213 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4()
231 pai->ai_family, pai->ai_addrlen, psin, in gaiv4()
281 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4()
298 pai->ai_family, pai->ai_addrlen, psin, in gaiv4()
335 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4()
352 pai->ai_family, pai->ai_addrlen, psin, in gaiv4()
[all …]
/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.c63 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) { in OPENSSL_MSVC_PRAGMA()
67 OPENSSL_memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in OPENSSL_MSVC_PRAGMA()
68 *out_addr_length = cur->ai_addrlen; in OPENSSL_MSVC_PRAGMA()
/external/curl/lib/
Dcurl_addrinfo.c142 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
146 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
161 ca->ai_addrlen = (curl_socklen_t)ss_size; in Curl_getaddrinfo_ex()
324 ai->ai_addrlen = (curl_socklen_t)ss_size; in Curl_he2ai()
502 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/ltp/testcases/network/stress/ns-tools/
Dns-common.c488 memcpy(&greq->gr_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_group_info()
537 memcpy(&gsf->gf_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_source_filter()
570 memcpy(&gsf->gf_slist[idx], res->ai_addr, res->ai_addrlen); in create_source_filter()
/external/ltp/tools/netpipe-2.4-ipv6/
DTCP.c87 memcpy(&p->prot.sin1, addr->ai_addr, addr->ai_addrlen); in Setup()
115 server_addr->ai_addrlen); in Setup()
123 server_addr->ai_addrlen); in Setup()
/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/syslinux/core/lwip/src/include/lwip/
Dnetdb.h88 socklen_t ai_addrlen; /* Length of socket address. */ member
/external/swiftshader/src/Common/
DSocket.cpp51 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
/external/curl/tests/unit/
Dunit1305.c98 ai->ai_addrlen = ss_size; in fake_ai()
/external/openssh/openbsd-compat/
Dfake-rfc2553.h145 size_t ai_addrlen; /* length of ai_addr */ member
/external/netperf/src/missing/
Dgetaddrinfo.h215 socklen_t ai_addrlen; member
/external/ltp/testcases/network/tcp_fastopen/
Dtcp_fastopen.c293 remote_addrinfo->ai_addrlen) != size) { in client_connect_send()
300 remote_addrinfo->ai_addrlen)) { in client_connect_send()
623 local_addrinfo->ai_addrlen); in server_init()
/external/ltp/testcases/network/tcp_cmds/sendfile/
Dtestsf_c.c83 memcpy(&sai, hp->ai_addr, hp->ai_addrlen); in main()
Dtestsf_s.c67 memcpy(&sa, hp->ai_addr, hp->ai_addrlen); in main()
/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/toybox/lib/
Dnet.c39 if (!connect(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnect()
/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.c251 if ((bind(sockfd, rp->ai_addr, rp->ai_addrlen)) < 0) perror_exit("Bind failed"); in create_bind_sock()
252 if(haddr) memcpy(haddr, rp->ai_addr, rp->ai_addrlen); in create_bind_sock()

12345