Home
last modified time | relevance | path

Searched refs:addrlen (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Daccept.cpp19 int accept(int sockfd, sockaddr* addr, socklen_t* addrlen) { in accept() argument
20 return accept4(sockfd, addr, addrlen, 0); in accept()
Dandroid_profiling_dynamic.cpp135 size_t addrlen = sizeof(sockaddr_un); in HandleTracedPerfSignal() local
136 if (connect(sock_fd.get(), reinterpret_cast<const struct sockaddr*>(&saddr), addrlen) == -1) { in HandleTracedPerfSignal()
Dfortify.cpp223 int flags, sockaddr* src_addr, socklen_t* addrlen) { in __recvfrom_chk() argument
225 return recvfrom(socket, buf, len, flags, src_addr, addrlen); in __recvfrom_chk()
230 socklen_t addrlen) { in __sendto_chk() argument
232 return sendto(socket, buf, len, flags, dest_addr, addrlen); in __sendto_chk()
/bionic/tests/
Dfdtrack_test.cpp261 socklen_t addrlen = sizeof(addr); in CreateListener() local
263 CHECK_NE(-1, bind(listener, reinterpret_cast<sockaddr*>(&addr), addrlen)) << strerror(errno); in CreateListener()
264 CHECK_NE(-1, getsockname(listener, reinterpret_cast<sockaddr*>(&addr), &addrlen)); in CreateListener()
265 CHECK_EQ(static_cast<size_t>(addrlen), sizeof(addr)); in CreateListener()
270 CHECK_NE(-1, connect(connector, reinterpret_cast<sockaddr*>(&addr), addrlen)); in CreateListener()
/bionic/libc/dns/resolv/
Dres_cache.c2265 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net() local
2266 if (addrlen < (int) sizeof(struct sockaddr) || in android_net_res_stats_get_info_for_net()
2267 addrlen > (int) sizeof(servers[0])) { in android_net_res_stats_get_info_for_net()
2269 XLOG("%s: nsaddrinfo[%d].ai_addrlen == %d", __FUNCTION__, i, addrlen); in android_net_res_stats_get_info_for_net()