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