Searched refs:addr_size (Results 1 – 2 of 2) sorted by relevance
36 socklen_t addr_size = sizeof(addr); in socket_get_local_port() local38 if (getsockname(sock, reinterpret_cast<sockaddr*>(&addr), &addr_size) == 0) { in socket_get_local_port()
41 socklen_t addr_size = sizeof(addr); in TestConnectedSockets() local47 reinterpret_cast<sockaddr*>(&addr), &addr_size)); in TestConnectedSockets()56 reinterpret_cast<sockaddr*>(&addr), addr_size)); in TestConnectedSockets()