Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dsocketaddress_unittest.cc194 sockaddr_storage addr_storage; in TEST() local
195 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 …]
Dphysicalsocketserver.cc136 sockaddr_storage addr_storage = {0}; in GetLocalAddress() local
137 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() local
152 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() local
167 size_t len = bind_addr.ToSockAddrStorage(&addr_storage); in Bind()
[all …]