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

/system/netd/client/
H A DNetdClient.cpp50 int netdClientAccept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { argument
51 int acceptedSocket = libcAccept4(sockfd, addr, addrlen, flags);
73 int netdClientConnect(int sockfd, const sockaddr* addr, socklen_t addrlen) { argument
81 return libcConnect(sockfd, addr, addrlen);
/system/core/adb/
H A Djdwp_service.c453 socklen_t addrlen; local
475 addrlen = (pathlen + sizeof(addr.sun_family));
477 if (bind(s, (struct sockaddr*)&addr, addrlen) < 0) {
516 socklen_t addrlen = sizeof(addr); local
521 s = adb_socket_accept( control->listen_socket, &addr, &addrlen );
H A Dsysdeps.h217 extern int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen);
418 static __inline__ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
422 fd = TEMP_FAILURE_RETRY( accept( serverfd, addr, addrlen ) );
H A Dsysdeps_win32.c759 int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
775 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen );
/system/core/libnetutils/
H A Difc_utils.c257 size_t addrlen; local
289 addrlen = INET_ADDRLEN;
293 addrlen = INET6_ADDRLEN;
315 rta->rta_len = RTA_LENGTH(addrlen);
316 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(addrlen);
317 memcpy(RTA_DATA(rta), addr, addrlen); local

Completed in 86 milliseconds