25 #include "ns3/object.h"    89   virtual std::string 
GetName () 
const = 0;
   102                               uint32_t unAckDataCount, uint32_t lastSackedBytes) = 0;
   119                            uint32_t lastSackedBytes) = 0;
   191   virtual std::string 
GetName () 
const override;
   194                               uint32_t unAckDataCount, uint32_t lastSackedBytes) 
override;
   197                            uint32_t lastSackedBytes) 
override;
 virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t lastSackedBytes)=0
Performs variable initialization at the start of recovery. 
#define NS_UNUSED(x)
Mark a local variable as unused. 
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. 
static TypeId GetTypeId(void)
Get the type ID. 
TcpClassicRecovery()
Constructor. 
virtual void ExitRecovery(Ptr< TcpSocketState > tcb) override
Performs cwnd adjustments at the end of recovery. 
virtual ~TcpClassicRecovery() override
Constructor. 
virtual Ptr< TcpRecoveryOps > Fork() override
Copy the recovery algorithm across socket. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t lastAckedBytes, uint32_t lastSackedBytes)=0
Performs recovery based on the recovery algorithm. 
TcpRecoveryOps()
Constructor. 
virtual void ExitRecovery(Ptr< TcpSocketState > tcb)=0
Performs cwnd adjustments at the end of recovery. 
virtual void UpdateBytesSent(uint32_t bytesSent)
Keeps track of bytes sent during recovery phase. 
virtual std::string GetName() const =0
Get the name of the recovery algorithm. 
The Classic recovery implementation. 
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t lastSackedBytes) override
Performs variable initialization at the start of recovery. 
A base class which provides memory management and object aggregation. 
a unique identifier for an interface. 
virtual ~TcpRecoveryOps()
Deconstructor. 
virtual std::string GetName() const override
Get the name of the recovery algorithm. 
virtual Ptr< TcpRecoveryOps > Fork()=0
Copy the recovery algorithm across socket.