34     .SetGroupName (
"Internet")
    61     .SetGroupName (
"Internet")
   129   if (segmentsAcked >= 1)
   133       return segmentsAcked - 1;
   153   if (segmentsAcked > 0)
   157       tcb->
m_cWnd += 
static_cast<uint32_t
> (adder);
   179       segmentsAcked = 
SlowStart (tcb, segmentsAcked);
   205                          uint32_t bytesInFlight)
   209   return std::max (2 * state->m_segmentSize, bytesInFlight / 2);
   215   return CopyObject<TcpNewReno> (
this);
 
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system. 
virtual uint32_t SlowStart(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
 Tcp NewReno slow start algorithm 
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name. 
uint32_t m_segmentSize
Segment size. 
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO. 
virtual void IncreaseWindow(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
Try to increase the cWnd following the NewReno specification. 
The NewReno implementation. 
virtual Ptr< TcpCongestionOps > Fork()
Copy the congestion control algorithm across socket. 
static TypeId GetTypeId(void)
Get the type ID. 
static TypeId GetTypeId(void)
Get the type ID. 
virtual uint32_t GetSsThresh(Ptr< const TcpSocketState > tcb, uint32_t bytesInFlight)
Get the slow start threshold after a loss event. 
TracedValue< uint32_t > m_ssThresh
Slow start threshold. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
Congestion control abstract class. 
TracedValue< uint32_t > m_cWnd
Congestion window. 
virtual ~TcpCongestionOps()
T Get(void) const
Get the underlying value. 
std::string GetName() const
Get the name of the congestion control algorithm. 
virtual void CongestionAvoidance(Ptr< TcpSocketState > tcb, uint32_t segmentsAcked)
NewReno congestion avoidance. 
A base class which provides memory management and object aggregation. 
a unique identifier for an interface. 
TypeId SetParent(TypeId tid)
Set the parent TypeId.