Home
last modified time | relevance | path

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

/system/netd/client/
DNetdClient.cpp52 int netdClientAccept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { in netdClientAccept4() argument
53 int acceptedSocket = libcAccept4(sockfd, addr, addrlen, flags); in netdClientAccept4()
75 int netdClientConnect(int sockfd, const sockaddr* addr, socklen_t addrlen) { in netdClientConnect() argument
83 return libcConnect(sockfd, addr, addrlen); in netdClientConnect()
/system/core/libnetutils/
Difc_utils.c257 size_t addrlen; in ifc_act_on_address() local
289 addrlen = INET_ADDRLEN; in ifc_act_on_address()
293 addrlen = INET6_ADDRLEN; in ifc_act_on_address()
315 rta->rta_len = RTA_LENGTH(addrlen); in ifc_act_on_address()
316 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(addrlen); in ifc_act_on_address()
317 memcpy(RTA_DATA(rta), addr, addrlen); in ifc_act_on_address()
/system/core/adb/
Djdwp_service.cpp473 socklen_t addrlen; in jdwp_control_init() local
495 addrlen = (pathlen + sizeof(addr.sun_family)); in jdwp_control_init()
497 if (bind(s, (struct sockaddr*)&addr, addrlen) < 0) { in jdwp_control_init()
536 socklen_t addrlen = sizeof(addr); in jdwp_control_event() local
541 s = adb_socket_accept( control->listen_socket, &addr, &addrlen ); in jdwp_control_event()
Dsysdeps.h219 extern int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen);
414 static __inline__ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) in adb_socket_accept() argument
418 fd = TEMP_FAILURE_RETRY( accept( serverfd, addr, addrlen ) ); in adb_socket_accept()
Dsysdeps_win32.cpp764 int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) in adb_socket_accept() argument
780 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen ); in adb_socket_accept()
/system/extras/tests/net_test/
Dping6_test.py268 addrlen = 32
270 addrlen = 8
284 % (addrlen, addrlen))