Searched refs:addrlen (Results 1 – 7 of 7) sorted by relevance
/system/core/include/cutils/ |
D | abort_socket.h | 78 socklen_t addrlen, int timeout); 81 socklen_t *addrlen, int timeout);
|
/system/core/libcutils/ |
D | abort_socket.c | 60 socklen_t addrlen, int timeout) { in asocket_connect() argument 65 ret = connect(s->fd, addr, addrlen); in asocket_connect() 120 socklen_t *addrlen, int timeout) { in asocket_accept() argument 154 ret = accept(s->fd, addr, addrlen); in asocket_accept()
|
/system/core/libnl_2/ |
D | netlink.c | 251 socklen_t addrlen; in nl_connect() local 268 addrlen = sizeof(addr); in nl_connect() 269 getsockname(sk->s_fd, &addr, &addrlen); in nl_connect()
|
/system/core/adb/ |
D | jdwp_service.c | 453 socklen_t addrlen; in jdwp_control_init() local 475 addrlen = (pathlen + sizeof(addr.sun_family)); in jdwp_control_init() 477 if (bind(s, (struct sockaddr*)&addr, addrlen) < 0) { in jdwp_control_init() 516 socklen_t addrlen = sizeof(addr); in jdwp_control_event() local 521 s = adb_socket_accept( control->listen_socket, &addr, &addrlen ); in jdwp_control_event()
|
D | sysdeps.h | 214 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) in adb_socket_accept() argument 404 fd = accept(serverfd, addr, addrlen); in adb_socket_accept()
|
D | sysdeps_win32.c | 752 int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) in adb_socket_accept() argument 768 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen ); in adb_socket_accept()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 252 size_t addrlen; in ifc_act_on_address() local 284 addrlen = INET_ADDRLEN; in ifc_act_on_address() 288 addrlen = INET6_ADDRLEN; in ifc_act_on_address() 310 rta->rta_len = RTA_LENGTH(addrlen); in ifc_act_on_address() 311 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(addrlen); in ifc_act_on_address() 312 memcpy(RTA_DATA(rta), addr, addrlen); in ifc_act_on_address()
|