67 virtual std::string
GetName ()
const;
70 uint32_t bytesInFlight);
77 uint32_t segmentsAcked);
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.
double m_defaultBackoff
default value when throughput ratio less than default
uint32_t m_dataSent
Current amount of data sent since last congestion.
void UpdateAlpha(void)
Updates the additive increase parameter for H-TCP.
double m_throughputRatio
ratio of two consequence throughput
Time m_delta
Time in second that has elapsed since the.
uint32_t m_lastThroughput
Throughput in last congestion period.
static TypeId GetTypeId(void)
Get the type ID.
double m_alpha
AIMD additive increase parameter.
virtual void CongestionAvoidance(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
NewReno congestion avoidance.
double m_beta
AIMD multiplicative decrease factor.
Time m_deltaL
Threshold for switching between standard and new increase function.
void UpdateBeta(void)
Updates the multiplicative decrease factor beta for H-TCP.
Time m_maxRtt
Maximum RTT in each congestion period.
TcpHtcp(void)
Create an unbound tcp socket.
virtual Ptr< TcpCongestionOps > Fork()
Copy the congestion control algorithm across sockets.
virtual void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt)
Timing information on received ACK.
virtual std::string GetName() const
Get the name of the congestion control algorithm.
virtual uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight)
Get the slow start threshold after a loss event.
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.