Home
last modified time | relevance | path

Searched refs:remote_address (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/ppapi/tests/
Dtest_net_address_private_untrusted.cc71 PP_NetAddress_Private local_address, remote_address; in TestAreEqual() local
73 ASSERT_TRUE(socket.GetRemoteAddress(&remote_address)); in TestAreEqual()
76 ASSERT_FALSE(NetAddressPrivate::AreEqual(local_address, remote_address)); in TestAreEqual()
88 PP_NetAddress_Private local_address, remote_address; in TestAreHostsEqual() local
90 ASSERT_TRUE(socket.GetRemoteAddress(&remote_address)); in TestAreHostsEqual()
93 ASSERT_TRUE(NetAddressPrivate::AreHostsEqual(local_address, remote_address)); in TestAreHostsEqual()
105 PP_NetAddress_Private remote_address; in TestDescribe() local
106 ASSERT_TRUE(socket.GetRemoteAddress(&remote_address)); in TestDescribe()
111 ASSERT_EQ(os.str(), NetAddressPrivate::Describe(remote_address, false)); in TestDescribe()
114 ASSERT_EQ(os.str(), NetAddressPrivate::Describe(remote_address, true)); in TestDescribe()
[all …]
/external/chromium_org/chrome/renderer/media/
Dcast_udp_transport.cc20 void CastUdpTransport::SetDestination(const net::IPEndPoint& remote_address) { in SetDestination() argument
22 << remote_address.ToString(); in SetDestination()
23 remote_address_ = remote_address; in SetDestination()
24 cast_session_->StartUDP(remote_address, in SetDestination()
Dcast_udp_transport.h28 void SetDestination(const net::IPEndPoint& remote_address);
/external/chromium_org/content/renderer/p2p/
Dipc_socket_factory.cc79 const rtc::SocketAddress& remote_address);
98 const net::IPEndPoint& remote_address) OVERRIDE;
128 const rtc::SocketAddress& remote_address);
256 const rtc::SocketAddress& remote_address) { in Init() argument
263 remote_address_ = remote_address; in Init()
273 if (!remote_address.IsNil()) { in Init()
276 if (remote_address.IsUnresolvedIP()) { in Init()
278 net::IPEndPoint(net::IPAddressNumber(), remote_address.port()); in Init()
280 if (!jingle_glue::SocketAddressToIPEndPoint(remote_address, in Init()
290 P2PHostAndIPEndPoint remote_info(remote_address.hostname(), remote_endpoint); in Init()
[all …]
Dsocket_client_impl.cc47 const P2PHostAndIPEndPoint& remote_address, in Init() argument
59 remote_address)); in Init()
64 const P2PHostAndIPEndPoint& remote_address) { in DoInit() argument
69 type, socket_id_, local_address, remote_address)); in DoInit()
148 const net::IPEndPoint& remote_address) { in OnSocketCreated() argument
156 local_address, remote_address)); in OnSocketCreated()
161 const net::IPEndPoint& remote_address) { in DeliverOnSocketCreated() argument
164 delegate_->OnOpen(local_address, remote_address); in DeliverOnSocketCreated()
Dsocket_client_impl.h39 const P2PHostAndIPEndPoint& remote_address,
78 const net::IPEndPoint& remote_address);
89 const net::IPEndPoint& remote_address);
102 const P2PHostAndIPEndPoint& remote_address);
Dsocket_dispatcher.cc144 const net::IPEndPoint& remote_address) { in OnSocketCreated() argument
147 client->OnSocketCreated(local_address, remote_address); in OnSocketCreated()
Dsocket_client_delegate.h26 const net::IPEndPoint& remote_address) = 0;
/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_tcp.cc66 bool P2PSocketHostTcpBase::InitAccepted(const net::IPEndPoint& remote_address, in InitAccepted() argument
71 remote_address_.ip_address = remote_address; in InitAccepted()
80 const P2PHostAndIPEndPoint& remote_address) { in Init() argument
83 remote_address_ = remote_address; in Init()
89 if (remote_address.ip_address.address().empty()) { in Init()
90 DCHECK(!remote_address.hostname.empty()); in Init()
92 remote_address.hostname); in Init()
95 remote_address.ip_address); in Init()
255 net::IPEndPoint remote_address; in DoSendSocketCreateMsg() local
256 result = socket_->GetPeerAddress(&remote_address); in DoSendSocketCreateMsg()
[all …]
Dsocket_host_tcp_server.cc44 const P2PHostAndIPEndPoint& remote_address) { in Init() argument
67 id_, local_address_, remote_address.ip_address)); in Init()
129 const net::IPEndPoint& remote_address, int id) { in AcceptIncomingTcpConnection() argument
130 AcceptedSocketsMap::iterator it = accepted_sockets_.find(remote_address); in AcceptIncomingTcpConnection()
144 if (!result->InitAccepted(remote_address, socket)) in AcceptIncomingTcpConnection()
Dsocket_host_tcp.h37 bool InitAccepted(const net::IPEndPoint& remote_address,
42 const P2PHostAndIPEndPoint& remote_address) OVERRIDE;
48 const net::IPEndPoint& remote_address, int id) OVERRIDE;
Dsocket_host_tcp_server.h38 const P2PHostAndIPEndPoint& remote_address) OVERRIDE;
44 const net::IPEndPoint& remote_address, int id) OVERRIDE;
Dsocket_host_udp.h36 const P2PHostAndIPEndPoint& remote_address) OVERRIDE;
42 const net::IPEndPoint& remote_address, int id) OVERRIDE;
Dsocket_dispatcher_host.h80 const P2PHostAndIPEndPoint& remote_address);
82 const net::IPEndPoint& remote_address,
Dsocket_dispatcher_host.cc227 const P2PHostAndIPEndPoint& remote_address) { in OnCreateSocket() argument
242 if (socket->Init(local_address, remote_address)) { in OnCreateSocket()
254 int listen_socket_id, const net::IPEndPoint& remote_address, in OnAcceptIncomingTcpConnection() argument
263 socket->AcceptIncomingTcpConnection(remote_address, connected_socket_id); in OnAcceptIncomingTcpConnection()
Dsocket_host.h72 const P2PHostAndIPEndPoint& remote_address) = 0;
81 const net::IPEndPoint& remote_address, int id) = 0;
Dsocket_host_udp.cc88 const P2PHostAndIPEndPoint& remote_address) { in Init() argument
118 id_, address, remote_address.ip_address)); in Init()
311 const net::IPEndPoint& remote_address, int id) { in AcceptIncomingTcpConnection() argument
/external/chromium_org/remoting/host/
Dipc_host_event_logger.cc63 serialized_route.remote_address = route.remote_address.address(); in OnClientRouteChange()
64 serialized_route.remote_port = route.remote_address.port(); in OnClientRouteChange()
Ddaemon_process.cc334 if (route.remote_address.size() != net::kIPv4AddressSize && in OnClientRouteChange()
335 route.remote_address.size() != net::kIPv6AddressSize) { in OnClientRouteChange()
337 << route.remote_address.size() << " passed."; in OnClientRouteChange()
352 parsed_route.remote_address = in OnClientRouteChange()
353 net::IPEndPoint(route.remote_address, route.remote_port); in OnClientRouteChange()
/external/chromium_org/third_party/webrtc/base/
Dasynctcpsocket.cc38 const rtc::SocketAddress& remote_address) { in ConnectSocket() argument
44 if (socket->Connect(remote_address) < 0) { in ConnectSocket()
239 const SocketAddress& remote_address) { in Create() argument
241 socket, bind_address, remote_address), false); in Create()
Dasynctcpsocket.h53 const SocketAddress& remote_address);
85 const SocketAddress& remote_address);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dbasicpacketsocketfactory.cc121 const SocketAddress& local_address, const SocketAddress& remote_address, in CreateClientTcpSocket() argument
158 if (ssl_adapter->StartSSL(remote_address.hostname().c_str(), false) != 0) { in CreateClientTcpSocket()
169 if (socket->Connect(remote_address) < 0) { in CreateClientTcpSocket()
Dasyncstuntcpsocket.cc58 const rtc::SocketAddress& remote_address) { in Create() argument
60 socket, bind_address, remote_address), false); in Create()
Drawtransportchannel.cc147 const rtc::SocketAddress& remote_address) { in OnRemoteAddress() argument
148 remote_address_ = remote_address; in OnRemoteAddress()
/external/chromium_org/net/udp/
Dudp_socket_unittest.cc432 std::string remote_address; member
446 std::string(" to ") + tests[i].remote_address);
449 ParseIPLiteralToNumber(tests[i].remote_address, &ip_number);
450 IPEndPoint remote_address(ip_number, 80); local
458 int rv = client.Connect(remote_address);
481 EXPECT_EQ(remote_address, fetched_remote_address);

123