11#ifndef TCP_RECOVERY_OPS_H 
   12#define TCP_RECOVERY_OPS_H 
   14#include "ns3/object.h" 
  176    std::string 
GetName() 
const override;
 
 
Smart pointer class similar to boost::intrusive_ptr.
 
void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes, bool isDupAck) override
Performs recovery based on the recovery algorithm.
 
Ptr< TcpRecoveryOps > Fork() override
Copy the recovery algorithm across socket.
 
void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes) override
Performs variable initialization at the start of recovery.
 
void ExitRecovery(Ptr< TcpSocketState > tcb) override
Performs cwnd adjustments at the end of recovery.
 
std::string GetName() const override
Get the name of the recovery algorithm.
 
static TypeId GetTypeId()
Get the type ID.
 
TcpClassicRecovery()
Constructor.
 
~TcpClassicRecovery() override
Constructor.
 
virtual void EnterRecovery(Ptr< TcpSocketState > tcb, uint32_t dupAckCount, uint32_t unAckDataCount, uint32_t deliveredBytes)=0
Performs variable initialization at the start of recovery.
 
static TypeId GetTypeId()
Get the type ID.
 
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.
 
virtual void DoRecovery(Ptr< TcpSocketState > tcb, uint32_t deliveredBytes, bool isDupAck)=0
Performs recovery based on the recovery algorithm.
 
TcpRecoveryOps()
Constructor.
 
~TcpRecoveryOps() override
Deconstructor.
 
virtual void ExitRecovery(Ptr< TcpSocketState > tcb)=0
Performs cwnd adjustments at the end of recovery.
 
virtual Ptr< TcpRecoveryOps > Fork()=0
Copy the recovery algorithm across socket.
 
Data structure that records the congestion state of a connection.
 
a unique identifier for an interface.
 
Every class exported by the ns3 library is enclosed in the ns3 namespace.