92 virtual std::string
GetName ()
const;
140 uint32_t bytesInFlight);
The NewReno implementation.
TcpCongState_t
Definition of the Congestion state machine.
An implementation of TCP Veno.
virtual uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight)
Get slow start threshold during Veno multiplicative-decrease phase.
bool m_inc
If true, cwnd needs to be incremented.
virtual Ptr< TcpCongestionOps > Fork()
Copy the congestion control algorithm across sockets.
virtual void CongestionStateSet(Ptr< TcpSocketState > tcb, const TcpSocketState::TcpCongState_t newState)
Enable/disable Veno depending on the congestion state.
uint32_t m_cntRtt
Number of RTT measurements during last RTT.
virtual void IncreaseWindow(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
Adjust cwnd following Veno additive increase algorithm.
TcpVeno(void)
Create an unbound tcp socket.
void EnableVeno()
Enable Veno algorithm to start Veno sampling.
virtual void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt)
Perform RTT sampling needed to execute Veno algorithm.
Time m_minRtt
Minimum of RTTs measured within last RTT.
bool m_doingVenoNow
If true, do Veno for this RTT.
uint32_t m_ackCnt
Number of received ACK.
uint32_t m_beta
Threshold for congestion detection.
void DisableVeno()
Turn off Veno.
static TypeId GetTypeId(void)
Get the type ID.
uint32_t m_diff
Difference between expected and actual throughput.
Time m_baseRtt
Minimum of all RTT measurements seen during connection.
virtual std::string GetName() const
Get the name of the congestion control algorithm.
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.