Home
last modified time | relevance | path

Searched refs:EmulatedEndpointImpl (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/test/network/
Dnetwork_emulation.cc169 EmulatedEndpointImpl::EmulatedEndpointImpl(uint64_t id, in EmulatedEndpointImpl() function in webrtc::EmulatedEndpointImpl
201 EmulatedEndpointImpl::~EmulatedEndpointImpl() = default;
203 uint64_t EmulatedEndpointImpl::GetId() const { in GetId()
207 void EmulatedEndpointImpl::SendPacket(const rtc::SocketAddress& from, in SendPacket()
229 absl::optional<uint16_t> EmulatedEndpointImpl::BindReceiver( in BindReceiver()
260 uint16_t EmulatedEndpointImpl::NextPort() { in NextPort()
270 void EmulatedEndpointImpl::UnbindReceiver(uint16_t port) { in UnbindReceiver()
275 rtc::IPAddress EmulatedEndpointImpl::GetPeerLocalAddress() const { in GetPeerLocalAddress()
279 void EmulatedEndpointImpl::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
305 void EmulatedEndpointImpl::Enable() { in Enable()
[all …]
Dnetwork_emulation.h129 class EmulatedEndpointImpl : public EmulatedEndpoint {
131 EmulatedEndpointImpl(uint64_t id,
137 ~EmulatedEndpointImpl() override;
193 EmulatedRoute(EmulatedEndpointImpl* from, in EmulatedRoute()
195 EmulatedEndpointImpl* to) in EmulatedRoute()
198 EmulatedEndpointImpl* from;
200 EmulatedEndpointImpl* to;
207 const std::vector<EmulatedEndpointImpl*>& endpoints);
209 EmulatedEndpointImpl* LookupByLocalAddress(
211 bool HasEndpoint(EmulatedEndpointImpl* endpoint) const;
[all …]
Dnetwork_emulation_manager.cc100 auto node = std::make_unique<EmulatedEndpointImpl>( in CreateEndpoint()
112 network_manager->EnableEndpoint(static_cast<EmulatedEndpointImpl*>(endpoint)); in EnableEndpoint()
120 static_cast<EmulatedEndpointImpl*>(endpoint)); in DisableEndpoint()
131 static_cast<EmulatedEndpointImpl*>(from)->router()->SetReceiver( in CreateRoute()
141 static_cast<EmulatedEndpointImpl*>(from), std::move(via_nodes), in CreateRoute()
142 static_cast<EmulatedEndpointImpl*>(to)); in CreateRoute()
273 std::vector<EmulatedEndpointImpl*> endpoint_impls; in CreateEmulatedNetworkManagerInterface()
275 endpoint_impls.push_back(static_cast<EmulatedEndpointImpl*>(endpoint)); in CreateEmulatedNetworkManagerInterface()
Demulated_network_manager.h38 void EnableEndpoint(EmulatedEndpointImpl* endpoint);
39 void DisableEndpoint(EmulatedEndpointImpl* endpoint);
Demulated_network_manager.cc34 void EmulatedNetworkManager::EnableEndpoint(EmulatedEndpointImpl* endpoint) { in EnableEndpoint()
43 void EmulatedNetworkManager::DisableEndpoint(EmulatedEndpointImpl* endpoint) { in DisableEndpoint()
Dfake_network_socket_server.h51 EmulatedEndpointImpl* GetEndpointNode(const rtc::IPAddress& ip);
Dfake_network_socket_server.cc69 EmulatedEndpointImpl* endpoint_ RTC_GUARDED_BY(&thread_);
277 EmulatedEndpointImpl* FakeNetworkSocketServer::GetEndpointNode( in GetEndpointNode()
Dcross_traffic_unittest.cc49 EmulatedEndpointImpl endpoint{/*id=*/1,
/external/webrtc/api/test/network_emulation/
Dnetwork_emulation_interfaces.h227 friend class EmulatedEndpointImpl;