93 std::string
GetName()
const override;
The NewReno implementation.
TcpCongState_t
Definition of the Congestion state machine.
An implementation of TCP YeAH.
Time m_minRtt
Minimum of all RTTs measured within last RTT.
uint32_t m_zeta
Minimum number of state switches to reset m_renoCount.
void IncreaseWindow(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked) override
Adjust cwnd following YeAH dual-mode algorithm.
void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt) override
Compute RTTs needed to execute YeAH algorithm.
Ptr< TcpCongestionOps > Fork() override
Copy the congestion control algorithm across sockets.
uint32_t m_renoCount
Estimated cwnd of competing Reno flow.
bool m_doingYeahNow
If true, do YeAH for this RTT.
void CongestionStateSet(Ptr< TcpSocketState > tcb, const TcpSocketState::TcpCongState_t newState) override
Enable/disable YeAH algorithm depending on the congestion state.
static TypeId GetTypeId()
Get the type ID.
uint32_t m_cntRtt
Number of RTT measurements during last RTT.
std::string GetName() const override
Get the name of the congestion control algorithm.
uint32_t m_lastQ
Last number of packets in the bottleneck queue.
uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight) override
Get slow start threshold upon the receipt of 3 dupACKs.
SequenceNumber32 m_begSndNxt
Right edge during last RTT.
uint32_t m_stcpAiFactor
STCP additive increase parameter.
Ptr< TcpScalable > m_stcp
TcpScalable object.
uint32_t m_alpha
Maximum backlog allowed at the bottleneck queue; Q_max in the paper.
uint32_t m_phy
Maximum delta from base.
uint32_t m_epsilon
Log maximum fraction to be removed on early decongestion.
void EnableYeah(const SequenceNumber32 &nextTxSequence)
Enable YeAH algorithm to start taking YeAH samples.
uint32_t m_doingRenoNow
Number of RTTs in "Slow" mode.
uint32_t m_rho
Minimum number of consecutive RTT to consider competition with Reno flows on loss.
TcpYeah()
Create an unbound tcp socket.
void DisableYeah()
Stop taking YeAH samples.
uint32_t m_fastCount
Number of RTTs in "Fast" mode.
Time m_baseRtt
Minimum of all YeAH RTT measurements seen during connection.
uint32_t m_gamma
Fraction of queue to be removed per RTT when precautionary decongestion executed.
uint32_t m_delta
Log minimum fraction of cwnd to be removed on loss.
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.