25 #include "ns3/tcp-recovery-ops.h" 72 std::string
GetName ()
const override;
75 uint32_t unAckDataCount, uint32_t lastSackedBytes)
override;
78 uint32_t lastSackedBytes)
override;
virtual void ExitRecovery(Ptr< TcpSocketState > tcb) override
Performs cwnd adjustments at the end of recovery.
Slow Start Reduction Bound.
virtual void UpdateBytesSent(uint32_t bytesSent) override
Keeps track of bytes sent during recovery phase.
uint32_t m_previousSackedBytes
total bytes SACKed by the previous ACK
uint32_t m_recoveryFlightSize
value of bytesInFlight at the start of recovery phase
ReductionBound_t
Reduction Bound variant (CRB or SSRB)
virtual Ptr< TcpRecoveryOps > Fork() override
Copy the recovery algorithm across socket.
TcpPrrRecovery(void)
Create an unbound tcp socket.
static TypeId GetTypeId(void)
Get the type ID.
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t lastAckedBytes, uint32_t lastSackedBytes) override
Performs recovery based on the recovery algorithm.
An implementation of PRR.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t m_prrOut
total bytes sent during recovery phase
ReductionBound_t m_reductionBoundMode
mode of Reduction Bound to be used
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t lastSackedBytes) override
Performs variable initialization at the start of recovery.
uint32_t m_prrDelivered
total bytes delivered during recovery phase
The Classic recovery implementation.
std::string GetName() const override
Get the name of the recovery algorithm.
Conservative Reduction Bound.
a unique identifier for an interface.
virtual ~TcpPrrRecovery(void) override