23 #ifndef TCP_RECOVERY_OPS_H
24 #define TCP_RECOVERY_OPS_H
26 #include "ns3/object.h"
103 uint32_t unAckDataCount, uint32_t deliveredBytes) = 0;
183 virtual std::string
GetName ()
const override;
186 uint32_t unAckDataCount, uint32_t deliveredBytes)
override;
A base class which provides memory management and object aggregation.
The Classic recovery implementation.
virtual Ptr< TcpRecoveryOps > Fork() override
Copy the recovery algorithm across socket.
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes) override
Performs variable initialization at the start of recovery.
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes) override
Performs recovery based on the recovery algorithm.
static TypeId GetTypeId(void)
Get the type ID.
virtual void ExitRecovery(Ptr< TcpSocketState > tcb) override
Performs cwnd adjustments at the end of recovery.
virtual std::string GetName() const override
Get the name of the recovery algorithm.
TcpClassicRecovery()
Constructor.
virtual ~TcpClassicRecovery() override
Constructor.
virtual ~TcpRecoveryOps()
Deconstructor.
static TypeId GetTypeId(void)
Get the type ID.
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes)=0
Performs variable initialization at the start of recovery.
virtual void UpdateBytesSent(uint32_t bytesSent)
Keeps track of bytes sent during recovery phase.
virtual Ptr< TcpRecoveryOps > Fork()=0
Copy the recovery algorithm across socket.
virtual std::string GetName() const =0
Get the name of the recovery algorithm.
TcpRecoveryOps()
Constructor.
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes)=0
Performs recovery based on the recovery algorithm.
virtual void ExitRecovery(Ptr< TcpSocketState > tcb)=0
Performs cwnd adjustments at the end of recovery.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.