Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp999 sockaddr_storage addr_storage; in adb_socket_get_local_port() local
1000 socklen_t addr_len = sizeof(addr_storage); in adb_socket_get_local_port()
1002 if (adb_getsockname(fd, reinterpret_cast<sockaddr*>(&addr_storage), &addr_len) < 0) { in adb_socket_get_local_port()
1007 if (!(addr_storage.ss_family == AF_INET || addr_storage.ss_family == AF_INET6)) { in adb_socket_get_local_port()
1008 D("adb_socket_get_local_port: unknown address family received: %d", addr_storage.ss_family); in adb_socket_get_local_port()
1013 return ntohs(reinterpret_cast<sockaddr_in*>(&addr_storage)->sin_port); in adb_socket_get_local_port()