Home
last modified time | relevance | path

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

/external/chromium/net/udp/
Dudp_socket_libevent.cc88 struct sockaddr_storage addr_storage; in GetPeerAddress() local
89 socklen_t addr_len = sizeof(addr_storage); in GetPeerAddress()
90 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetPeerAddress()
110 struct sockaddr_storage addr_storage; in GetLocalAddress() local
111 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
112 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
216 struct sockaddr_storage addr_storage; in Connect() local
217 size_t addr_len = sizeof(addr_storage); in Connect()
218 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in Connect()
237 struct sockaddr_storage addr_storage; in Bind() local
[all …]
Dudp_socket_win.cc84 struct sockaddr_storage addr_storage; in GetPeerAddress() local
85 int addr_len = sizeof(addr_storage); in GetPeerAddress()
86 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetPeerAddress()
106 struct sockaddr_storage addr_storage; in GetLocalAddress() local
107 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
108 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
187 struct sockaddr_storage addr_storage; in Connect() local
188 size_t addr_len = sizeof(addr_storage); in Connect()
189 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in Connect()
208 struct sockaddr_storage addr_storage; in Bind() local
[all …]
/external/chromium/net/socket/
Dtcp_server_socket_libevent.cc73 struct sockaddr_storage addr_storage; in Listen() local
74 size_t addr_len = sizeof(addr_storage); in Listen()
75 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in Listen()
102 struct sockaddr_storage addr_storage; in GetLocalAddress() local
103 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
104 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
141 struct sockaddr_storage addr_storage; in AcceptInternal() local
142 socklen_t addr_len = sizeof(addr_storage); in AcceptInternal()
143 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in AcceptInternal()
Dtcp_server_socket_win.cc61 struct sockaddr_storage addr_storage; in Listen() local
62 size_t addr_len = sizeof(addr_storage); in Listen()
63 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in Listen()
90 struct sockaddr_storage addr_storage; in GetLocalAddress() local
91 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
92 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
125 struct sockaddr_storage addr_storage; in AcceptInternal() local
126 socklen_t addr_len = sizeof(addr_storage); in AcceptInternal()
127 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in AcceptInternal()
Dtcp_client_socket_libevent.cc687 struct sockaddr_storage addr_storage; in GetLocalAddress() local
688 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
689 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
Dtcp_client_socket_win.cc489 struct sockaddr_storage addr_storage; in GetLocalAddress() local
490 socklen_t addr_len = sizeof(addr_storage); in GetLocalAddress()
491 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in GetLocalAddress()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocketaddress_unittest.cc210 sockaddr_storage addr_storage; in TEST() local
211 from.ToSockAddrStorage(&addr_storage); in TEST()
212 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()
220 from.ToDualStackSockAddrStorage(&addr_storage); in TEST()
221 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()
229 memset(&addr_storage, 0, sizeof(sockaddr_storage)); in TEST()
232 from.ToSockAddrStorage(&addr_storage); in TEST()
233 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()
242 from.ToDualStackSockAddrStorage(&addr_storage); in TEST()
243 EXPECT_TRUE(SocketAddressFromSockAddrStorage(addr_storage, &addr)); in TEST()
[all …]
Dphysicalsocketserver.cc149 sockaddr_storage addr_storage = {0}; in GetLocalAddress() local
150 socklen_t addrlen = sizeof(addr_storage); in GetLocalAddress()
151 sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage); in GetLocalAddress()
155 SocketAddressFromSockAddrStorage(addr_storage, &address); in GetLocalAddress()
164 sockaddr_storage addr_storage = {0}; in GetRemoteAddress() local
165 socklen_t addrlen = sizeof(addr_storage); in GetRemoteAddress()
166 sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage); in GetRemoteAddress()
170 SocketAddressFromSockAddrStorage(addr_storage, &address); in GetRemoteAddress()
179 sockaddr_storage addr_storage; in Bind() local
180 size_t len = bind_addr.ToSockAddrStorage(&addr_storage); in Bind()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_net_address_private.cc265 unsigned char addr_storage[addr_storage_len]; in TestGetAddress() local
269 memset(addr_storage, 0, addr_storage_len); in TestGetAddress()
271 addr_storage, in TestGetAddress()
273 ASSERT_EQ(memcmp(addr_storage, &ipv4_addr, 4), 0); in TestGetAddress()
277 addr_storage, in TestGetAddress()
292 memset(addr_storage, 0, addr_storage_len); in TestGetAddress()
294 addr_storage, in TestGetAddress()
296 ASSERT_EQ(memcmp(addr_storage, ipv6_bytes, 16), 0); in TestGetAddress()
300 addr_storage, in TestGetAddress()
/external/chromium/net/base/
Dip_endpoint.cc110 struct sockaddr_storage addr_storage; in ToString() local
111 size_t addr_len = sizeof(addr_storage); in ToString()
112 struct sockaddr* addr = reinterpret_cast<struct sockaddr*>(&addr_storage); in ToString()
/external/chromium_org/net/base/
Dnet_util.h124 SockaddrStorage() : addr_len(sizeof(addr_storage)), in SockaddrStorage()
125 addr(reinterpret_cast<struct sockaddr*>(&addr_storage)) {} in SockaddrStorage()
126 struct sockaddr_storage addr_storage; member
Dnet_util_unittest.cc420 memset(&storage->addr_storage, 0, sizeof(storage->addr_storage)); in MakeIPv4Address()
431 memset(&storage->addr_storage, 0, sizeof(storage->addr_storage)); in MakeIPv6Address()
/external/chromium_org/net/udp/
Dudp_socket_win.cc514 storage.addr_len = sizeof(storage.addr_storage); in InternalRecvFrom()