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