#include "p2p/base/packet_transport_internal.h"
#include "api/sequence_checker.h"
#include "rtc_base/network/received_packet.h"
namespace rtc {
PacketTransportInternal::PacketTransportInternal() = default;
PacketTransportInternal::~PacketTransportInternal() = default;
bool PacketTransportInternal::GetOption(rtc::Socket::Option opt, int* value) { … }
absl::optional<NetworkRoute> PacketTransportInternal::network_route() const { … }
void PacketTransportInternal::RegisterReceivedPacketCallback(
void* id,
absl::AnyInvocable<void(PacketTransportInternal*,
const rtc::ReceivedPacket&)> callback) { … }
void PacketTransportInternal::DeregisterReceivedPacketCallback(void* id) { … }
void PacketTransportInternal::SetOnCloseCallback(
absl::AnyInvocable<void() &&> callback) { … }
void PacketTransportInternal::NotifyPacketReceived(
const rtc::ReceivedPacket& packet) { … }
void PacketTransportInternal::NotifyOnClose() { … }
}