Home
last modified time | relevance | path

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

/system/core/libnl_2/
Dnetlink.c251 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/
Djdwp_service.c453 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()
Dsysdeps.h214 extern int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen);
415 static __inline__ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) in adb_socket_accept() argument
419 fd = TEMP_FAILURE_RETRY( accept( serverfd, addr, addrlen ) ); in adb_socket_accept()
Dsysdeps_win32.c752 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/
Difc_utils.c252 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()