/external/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 93 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4() 107 pai->ai_family, pai->ai_addrlen, psin, in gaiv4() 170 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4() 184 pai->ai_family, pai->ai_addrlen, psin, in gaiv4() 214 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4() 232 pai->ai_family, pai->ai_addrlen, psin, in gaiv4() 282 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4() 299 pai->ai_family, pai->ai_addrlen, psin, in gaiv4() 336 err |= pai->ai_addrlen != sizeof(struct sockaddr_in); in gaiv4() 353 pai->ai_family, pai->ai_addrlen, psin, in gaiv4() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_query.hpp | 70 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()
|
D | basic_resolver_iterator.hpp | 91 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/ |
D | socket_helper.c | 65 if ((size_t) cur->ai_addrlen > sizeof(struct sockaddr_storage)) { in OPENSSL_MSVC_PRAGMA() 69 OPENSSL_memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in OPENSSL_MSVC_PRAGMA() 70 *out_addr_length = cur->ai_addrlen; in OPENSSL_MSVC_PRAGMA()
|
/external/iperf3/src/ |
D | iperf_sctp.c | 227 if (bind(s, (struct sockaddr *) res->ai_addr, res->ai_addrlen) < 0) { in iperf_sctp_listen() 304 if (bind(s, (struct sockaddr *) local_res->ai_addr, local_res->ai_addrlen) < 0) { in iperf_sctp_connect() 441 …if (connect(s, (struct sockaddr *) server_res->ai_addr, server_res->ai_addrlen) < 0 && errno != EI… in iperf_sctp_connect() 563 if (bind(s, (struct sockaddr *)ai->ai_addr, ai->ai_addrlen) < 0) { in iperf_sctp_bindx() 604 xaddrlen += ai->ai_addrlen; in iperf_sctp_bindx() 622 memcpy(bp, ai->ai_addr, ai->ai_addrlen); in iperf_sctp_bindx() 623 bp += ai->ai_addrlen; in iperf_sctp_bindx()
|
D | net.c | 151 if (bind(s, (struct sockaddr *) local_res->ai_addr, local_res->ai_addrlen) < 0) { in netdial() 198 …if (timeout_connect(s, (struct sockaddr *) server_res->ai_addr, server_res->ai_addrlen, timeout) <… in netdial() 284 if (bind(s, (struct sockaddr *) res->ai_addr, res->ai_addrlen) < 0) { in netannounce()
|
D | iperf_tcp.c | 294 if (bind(s, (struct sockaddr *) res->ai_addr, res->ai_addrlen) < 0) { in iperf_tcp_listen() 412 if (bind(s, (struct sockaddr *) local_res->ai_addr, local_res->ai_addrlen) < 0) { in iperf_tcp_connect() 616 …if (connect(s, (struct sockaddr *) server_res->ai_addr, server_res->ai_addrlen) < 0 && errno != EI… in iperf_tcp_connect()
|
/external/curl/lib/ |
D | curl_addrinfo.c | 151 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex() 155 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex() 171 ca->ai_addrlen = (curl_socklen_t)ss_size; in Curl_getaddrinfo_ex() 339 ai->ai_addrlen = (curl_socklen_t)ss_size; in Curl_he2ai() 526 ai->ai_addrlen = (curl_socklen_t) in Curl_unix2addr()
|
D | curl_addrinfo.h | 56 curl_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */ member
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | resolve_address_windows.cc | 111 memcpy(&(*addresses)->addrs[i].addr, resp->ai_addr, resp->ai_addrlen); in windows_blocking_resolve_address() 112 (*addresses)->addrs[i].len = resp->ai_addrlen; in windows_blocking_resolve_address()
|
D | resolve_address_posix.cc | 129 memcpy(&(*addresses)->addrs[i].addr, resp->ai_addr, resp->ai_addrlen); in posix_blocking_resolve_address() 130 (*addresses)->addrs[i].len = resp->ai_addrlen; in posix_blocking_resolve_address()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-common.c | 488 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/python/cpython3/Modules/ |
D | getaddrinfo.c | 176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\ 191 (ai)->ai_addrlen = (gai_afd)->a_socklen;\ 270 pai->ai_addrlen = 0; in getaddrinfo() 280 if (hints->ai_addrlen || hints->ai_canonname || in getaddrinfo()
|
D | addrinfo.h | 132 size_t ai_addrlen; /* length of ai_addr */ member
|
/external/python/cpython2/Modules/ |
D | getaddrinfo.c | 176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\ 191 (ai)->ai_addrlen = (gai_afd)->a_socklen;\ 270 pai->ai_addrlen = 0; in getaddrinfo() 280 if (hints->ai_addrlen || hints->ai_canonname || in getaddrinfo()
|
D | addrinfo.h | 132 size_t ai_addrlen; /* length of ai_addr */ member
|
/external/swiftshader/src/Common/ |
D | Socket.cpp | 52 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
|
/external/swiftshader/src/System/ |
D | Socket.cpp | 52 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 312 SAFE_BIND(sd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in bind_before_connect() 331 remote_addrinfo->ai_addr, remote_addrinfo->ai_addrlen); in client_connect_send() 336 remote_addrinfo->ai_addrlen); in client_connect_send() 679 SAFE_BIND(sfd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in server_init()
|
/external/curl/tests/unit/ |
D | unit1305.c | 98 ai->ai_addrlen = sizeof(struct sockaddr_in); in fake_ai()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.h | 143 size_t ai_addrlen; /* length of ai_addr */ member
|
/external/deqp/framework/delibs/deutil/ |
D | deSocket.c | 304 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/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_c.c | 83 memcpy(&sai, hp->ai_addr, hp->ai_addrlen); in main()
|
/external/openssh/regress/ |
D | netcat.c | 643 ares->ai_addrlen) < 0) in remote_connect() 650 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 746 res0->ai_addrlen) == 0) in local_listen() 1399 if (addrlen < res->ai_addrlen) { in decode_addrport() 1403 memcpy(addr, res->ai_addr, res->ai_addrlen); in decode_addrport()
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 426 newaddr = malloc(res->ai_addrlen); 432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
|