Home
last modified time | relevance | path

Searched refs:EmulatedIpPacket (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/api/test/network_emulation/
Dnetwork_emulation_interfaces.h26 struct EmulatedIpPacket { struct
28 EmulatedIpPacket(const rtc::SocketAddress& from,
33 ~EmulatedIpPacket() = default;
35 EmulatedIpPacket(const EmulatedIpPacket&) = delete;
36 EmulatedIpPacket& operator=(const EmulatedIpPacket&) = delete; argument
38 EmulatedIpPacket(EmulatedIpPacket&&) = default;
39 EmulatedIpPacket& operator=(EmulatedIpPacket&&) = default; argument
59 virtual void OnPacketReceived(EmulatedIpPacket packet) = 0; argument
Dnetwork_emulation_interfaces.cc15 EmulatedIpPacket::EmulatedIpPacket(const rtc::SocketAddress& from, in EmulatedIpPacket() function in webrtc::EmulatedIpPacket
/external/webrtc/test/network/
Dnetwork_emulation.h48 void OnPacketReceived(EmulatedIpPacket packet) override;
53 EmulatedIpPacket packet;
72 void OnPacketReceived(EmulatedIpPacket packet) override;
76 void SetWatcher(std::function<void(const EmulatedIpPacket&)> watcher);
77 void SetFilter(std::function<bool(const EmulatedIpPacket&)> filter);
83 std::function<void(const EmulatedIpPacket&)> watcher_
85 std::function<bool(const EmulatedIpPacket&)> filter_
107 void OnPacketReceived(EmulatedIpPacket packet) override;
156 void OnPacketReceived(EmulatedIpPacket packet) override;
169 void UpdateReceiveStats(const EmulatedIpPacket& packet);
[all …]
Dtraffic_route.cc27 void OnPacketReceived(EmulatedIpPacket packet) override {} in OnPacketReceived()
36 void OnPacketReceived(EmulatedIpPacket packet) override { in OnPacketReceived()
92 receiver_->OnPacketReceived(EmulatedIpPacket( in SendPacket()
Dnetwork_emulation.cc23 void LinkEmulation::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
89 void NetworkRouterNode::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
125 std::function<void(const EmulatedIpPacket&)> watcher) { in SetWatcher()
133 std::function<bool(const EmulatedIpPacket&)> filter) { in SetFilter()
147 void EmulatedNetworkNode::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
212 EmulatedIpPacket packet(from, to, std::move(packet_data), in SendPacket()
279 void EmulatedEndpointImpl::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
327 void EmulatedEndpointImpl::UpdateReceiveStats(const EmulatedIpPacket& packet) { in UpdateReceiveStats()
Dfake_network_socket_server.cc41 void OnPacketReceived(EmulatedIpPacket packet) override;
76 absl::optional<EmulatedIpPacket> pending_ RTC_GUARDED_BY(thread_);
92 void FakeNetworkSocket::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
Dcross_traffic_unittest.cc37 void OnPacketReceived(EmulatedIpPacket packet) override { in OnPacketReceived()
Dnetwork_emulation_unittest.cc76 MOCK_METHOD(void, OnPacketReceived, (EmulatedIpPacket packet), (override));
/external/webrtc/test/peer_scenario/tests/
Dremote_estimate_test.cc104 [extension_map, &received_abs_send_time](const EmulatedIpPacket& packet) { in TEST()
/external/webrtc/test/scenario/
Dcall_client.h113 void OnPacketReceived(EmulatedIpPacket packet) override;
Dcall_client.cc272 void CallClient::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
/external/webrtc/call/
Drtp_video_sender_unittest.cc544 send_node->router()->SetFilter([&](const EmulatedIpPacket& packet) { in TEST()