Searched refs:addr_storage (Results 1 – 2 of 2) sorted by relevance
194 sockaddr_storage addr_storage; in TEST() local195 from.ToSockAddrStorage(&addr_storage); in TEST()196 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()204 from.ToDualStackSockAddrStorage(&addr_storage); in TEST()205 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()213 memset(&addr_storage, 0, sizeof(sockaddr_storage)); in TEST()216 from.ToSockAddrStorage(&addr_storage); in TEST()217 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()226 from.ToDualStackSockAddrStorage(&addr_storage); in TEST()227 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()[all …]
136 sockaddr_storage addr_storage = {0}; in GetLocalAddress() local137 socklen_t addrlen = sizeof(addr_storage); in GetLocalAddress()138 sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage); in GetLocalAddress()142 SocketAddressFromSockAddrStorage(addr_storage, &address); in GetLocalAddress()151 sockaddr_storage addr_storage = {0}; in GetRemoteAddress() local152 socklen_t addrlen = sizeof(addr_storage); in GetRemoteAddress()153 sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage); in GetRemoteAddress()157 SocketAddressFromSockAddrStorage(addr_storage, &address); in GetRemoteAddress()166 sockaddr_storage addr_storage; in Bind() local167 size_t len = bind_addr.ToSockAddrStorage(&addr_storage); in Bind()[all …]