30 #include "ns3/tcp-congestion-ops.h"
90 virtual std::string
GetName ()
const;
138 uint32_t bytesInFlight);
virtual Ptr< TcpCongestionOps > Fork()
Copy the congestion control algorithm across socket.
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
virtual uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight)
Get slow start threshold during Veno multiplicative-decrease phase.
TcpVeno(void)
Create an unbound tcp socket.
void DisableVeno()
Turn off Veno.
The NewReno implementation.
An implementation of TCP Veno.
bool m_inc
If true, cwnd needs to be incremented.
uint32_t m_beta
Threshold for congestion detection.
bool m_doingVenoNow
If true, do Veno for this RTT.
uint32_t m_diff
Difference between expected and actual throughput.
virtual std::string GetName() const
Get the name of the congestion control algorithm.
TcpCongState_t
Definition of the Congestion state machine.
void EnableVeno(Ptr< TcpSocketState > tcb)
Enable Veno algorithm to start Veno sampling.
uint32_t m_ackCnt
Number of received ACK.
virtual void CongestionStateSet(Ptr< TcpSocketState > tcb, const TcpSocketState::TcpCongState_t newState)
Enable/disable Veno depending on the congestion state.
static TypeId GetTypeId(void)
Get the type ID.
virtual void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt)
Perform RTT sampling needed to execute Veno algorithm.
Time m_baseRtt
Minimum of all RTT measurements seen during connection.
uint32_t m_cntRtt
of RTT measurements during last RTT
virtual void IncreaseWindow(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
Adjust cwnd following Veno additive increase algorithm.
a unique identifier for an interface.
Time m_minRtt
Minimum of RTTs measured within last RTT.