#include "quiche/quic/test_tools/quic_sent_packet_manager_peer.h"
#include "quiche/quic/core/congestion_control/loss_detection_interface.h"
#include "quiche/quic/core/congestion_control/send_algorithm_interface.h"
#include "quiche/quic/core/quic_packets.h"
#include "quiche/quic/core/quic_sent_packet_manager.h"
#include "quiche/quic/test_tools/quic_unacked_packet_map_peer.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace quic {
namespace test {
void QuicSentPacketManagerPeer::SetPerspective(
QuicSentPacketManager* sent_packet_manager, Perspective perspective) { … }
SendAlgorithmInterface* QuicSentPacketManagerPeer::GetSendAlgorithm(
const QuicSentPacketManager& sent_packet_manager) { … }
void QuicSentPacketManagerPeer::SetSendAlgorithm(
QuicSentPacketManager* sent_packet_manager,
SendAlgorithmInterface* send_algorithm) { … }
const LossDetectionInterface* QuicSentPacketManagerPeer::GetLossAlgorithm(
QuicSentPacketManager* sent_packet_manager) { … }
void QuicSentPacketManagerPeer::SetLossAlgorithm(
QuicSentPacketManager* sent_packet_manager,
LossDetectionInterface* loss_detector) { … }
RttStats* QuicSentPacketManagerPeer::GetRttStats(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::IsRetransmission(
QuicSentPacketManager* sent_packet_manager, uint64_t packet_number) { … }
void QuicSentPacketManagerPeer::MarkForRetransmission(
QuicSentPacketManager* sent_packet_manager, uint64_t packet_number,
TransmissionType transmission_type) { … }
size_t QuicSentPacketManagerPeer::GetNumRetransmittablePackets(
const QuicSentPacketManager* sent_packet_manager) { … }
void QuicSentPacketManagerPeer::SetConsecutivePtoCount(
QuicSentPacketManager* sent_packet_manager, size_t count) { … }
QuicSustainedBandwidthRecorder& QuicSentPacketManagerPeer::GetBandwidthRecorder(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::UsingPacing(
const QuicSentPacketManager* sent_packet_manager) { … }
void QuicSentPacketManagerPeer::SetUsingPacing(
QuicSentPacketManager* sent_packet_manager, bool using_pacing) { … }
PacingSender* QuicSentPacketManagerPeer::GetPacingSender(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::HasRetransmittableFrames(
QuicSentPacketManager* sent_packet_manager, uint64_t packet_number) { … }
QuicUnackedPacketMap* QuicSentPacketManagerPeer::GetUnackedPacketMap(
QuicSentPacketManager* sent_packet_manager) { … }
void QuicSentPacketManagerPeer::DisablePacerBursts(
QuicSentPacketManager* sent_packet_manager) { … }
int QuicSentPacketManagerPeer::GetPacerInitialBurstSize(
QuicSentPacketManager* sent_packet_manager) { … }
void QuicSentPacketManagerPeer::SetNextPacedPacketTime(
QuicSentPacketManager* sent_packet_manager, QuicTime time) { … }
int QuicSentPacketManagerPeer::GetReorderingShift(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::AdaptiveReorderingThresholdEnabled(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::AdaptiveTimeThresholdEnabled(
QuicSentPacketManager* sent_packet_manager) { … }
bool QuicSentPacketManagerPeer::UsePacketThresholdForRuntPackets(
QuicSentPacketManager* sent_packet_manager) { … }
int QuicSentPacketManagerPeer::GetNumPtosForPathDegrading(
QuicSentPacketManager* sent_packet_manager) { … }
QuicEcnCounts* QuicSentPacketManagerPeer::GetPeerEcnCounts(
QuicSentPacketManager* sent_packet_manager, PacketNumberSpace space) { … }
QuicPacketCount QuicSentPacketManagerPeer::GetEct0Sent(
QuicSentPacketManager* sent_packet_manager, PacketNumberSpace space) { … }
QuicPacketCount QuicSentPacketManagerPeer::GetEct1Sent(
QuicSentPacketManager* sent_packet_manager, PacketNumberSpace space) { … }
}
}