Searched defs:addrlen (Results 1 - 6 of 6) sorted by relevance

/system/core/libcutils/
H A Dabort_socket.c60 socklen_t addrlen, int timeout) {
65 ret = connect(s->fd, addr, addrlen);
120 socklen_t *addrlen, int timeout) {
154 ret = accept(s->fd, addr, addrlen);
59 asocket_connect(struct asocket *s, const struct sockaddr *addr, socklen_t addrlen, int timeout) argument
119 asocket_accept(struct asocket *s, struct sockaddr *addr, socklen_t *addrlen, int timeout) argument
/system/core/libnl_2/
H A Dnetlink.c251 socklen_t addrlen; local
268 addrlen = sizeof(addr);
269 getsockname(sk->s_fd, &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.h214 extern int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen);
400 static __inline__ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
404 fd = accept(serverfd, addr, addrlen);
H A Dsysdeps_win32.c752 int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
768 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen );
/system/core/libnetutils/
H A Difc_utils.c252 size_t addrlen; local
284 addrlen = INET_ADDRLEN;
288 addrlen = INET6_ADDRLEN;
310 rta->rta_len = RTA_LENGTH(addrlen);
311 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(addrlen);
312 memcpy(RTA_DATA(rta), addr, addrlen); local

Completed in 88 milliseconds