26 #include "ns3/tcp-congestion-ops.h" 27 #include "ns3/tcp-recovery-ops.h" 87 virtual std::string
GetName ()
const;
uint32_t BaseDelay()
Return the value of base delay.
uint32_t min
The index of minimum value.
Simulation virtual time values and global simulation resolution.
uint32_t m_noiseFilterLen
Length of current delay buffer.
std::vector< uint32_t > buffer
Vector to store the delay.
virtual void PktsAcked(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked, const Time &rtt)
Get information from the acked packet.
uint64_t m_lastRollover
Timestamp of last added delay.
void AddDelay(struct OwdCircBuf &cb, uint32_t owd, uint32_t maxlen)
Add new delay to the buffers.
An implementation of LEDBAT.
virtual void IncreaseWindow(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
Adjust cwnd following LEDBAT algorithm.
The NewReno implementation.
static uint32_t MinCircBuf(struct OwdCircBuf &b)
Return the minimum delay of the buffer.
OwdCircBuf m_baseHistory
Buffer to store the base delay.
Buffer structure to store delays.
virtual ~TcpLedbat(void)
Destructor.
static TypeId GetTypeId(void)
Get the type ID.
void InitCircBuf(struct OwdCircBuf &buffer)
Initialise a new buffer.
virtual Ptr< TcpCongestionOps > Fork()
Copy the congestion control algorithm across socket.
State
The state of LEDBAT.
uint32_t(* FilterFunction)(struct OwdCircBuf &)
Filter function used by LEDBAT for current delay.
SlowStartType m_doSs
Permissible Slow Start State.
uint32_t m_baseHistoLen
Length of base delay history buffer.
SlowStartType
The slowstart types.
uint32_t CurrentDelay(FilterFunction filter)
Return the value of current delay.
uint32_t m_minCwnd
Minimum cWnd value mentioned in RFC 6817.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
double m_gain
GAIN value from RFC.
Time m_target
Target Queue Delay.
void UpdateBaseDelay(uint32_t owd)
Update the base delay buffer.
uint32_t m_flag
LEDBAT Flag.
virtual void CongestionAvoidance(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
Reduce Congestion.
void SetDoSs(SlowStartType doSS)
Change the Slow Start Capability.
OwdCircBuf m_noiseFilter
Buffer to store the current delay.
virtual std::string GetName() const
Get the name of the TCP flavour.
a unique identifier for an interface.
int32_t m_sndCwndCnt
The congestion window addition parameter.
TcpLedbat(void)
Create an unbound tcp socket.
If LEDBAT allows Slow Start.
If valid timestamps are present.