67 std::string
GetName()
const override;
Smart pointer class similar to boost::intrusive_ptr.
An implementation of the H-TCP variant of TCP.
Time m_minRtt
Minimum RTT in each congestion period.
Time m_lastCon
Time of the last congestion for the flow.
void UpdateBeta()
Updates the multiplicative decrease factor beta for H-TCP.
double m_defaultBackoff
default value when throughput ratio less than default
uint32_t m_dataSent
Current amount of data sent since last congestion.
uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight) override
Get the slow start threshold after a loss event.
double m_throughputRatio
ratio of two consequence throughput
std::string GetName() const override
Get the name of the congestion control algorithm.
Time m_delta
Time in second that has elapsed since the.
void CongestionAvoidance(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked) override
NewReno congestion avoidance.
uint32_t m_lastThroughput
Throughput in last congestion period.
double m_alpha
AIMD additive increase parameter.
void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt) override
Timing information on received ACK.
double m_beta
AIMD multiplicative decrease factor.
Time m_deltaL
Threshold for switching between standard and new increase function.
Ptr< TcpCongestionOps > Fork() override
Copy the congestion control algorithm across sockets.
TcpHtcp()
Create an unbound tcp socket.
Time m_maxRtt
Maximum RTT in each congestion period.
void UpdateAlpha()
Updates the additive increase parameter for H-TCP.
static TypeId GetTypeId()
Get the type ID.
uint32_t m_throughput
Current throughput since last congestion.
The NewReno implementation.
Simulation virtual time values and global simulation resolution.
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.