Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns::CongestionHelper Class Reference

#include <q2ns-congestion-helper.h>

Collaboration diagram for q2ns::CongestionHelper:

Public Member Functions

 CongestionHelper ()=default
 
void Install (const TrafficSpec &spec)
 

Static Public Member Functions

static double ComputeTcpWarmup (double rateMbps, double rttSec, uint32_t mssBytes=1200, double initCwndPkts=10.0)
 

Static Private Member Functions

static ns3::Ptr< ns3::Node > FindNodeByName (const std::string &name)
 
static ns3::Ipv4Address FirstNonLoopback (ns3::Ptr< ns3::Node > node)
 

Private Attributes

std::set< std::tuple< ns3::Ptr< ns3::Node >, uint16_t, std::string > > m_installedSinks
 

Detailed Description

Definition at line 45 of file q2ns-congestion-helper.h.

Constructor & Destructor Documentation

◆ CongestionHelper()

q2ns::CongestionHelper::CongestionHelper ( )
default

Member Function Documentation

◆ ComputeTcpWarmup()

double q2ns::CongestionHelper::ComputeTcpWarmup ( double  rateMbps,
double  rttSec,
uint32_t  mssBytes = 1200,
double  initCwndPkts = 10.0 
)
static

Definition at line 58 of file q2ns-congestion-helper.cc.

◆ FindNodeByName()

ns3::Ptr< ns3::Node > q2ns::CongestionHelper::FindNodeByName ( const std::string &  name)
staticprivate

Definition at line 37 of file q2ns-congestion-helper.cc.

Referenced by Install().

Here is the caller graph for this function:

◆ FirstNonLoopback()

ns3::Ipv4Address q2ns::CongestionHelper::FirstNonLoopback ( ns3::Ptr< ns3::Node >  node)
staticprivate

Definition at line 43 of file q2ns-congestion-helper.cc.

Referenced by Install().

Here is the caller graph for this function:

◆ Install()

void q2ns::CongestionHelper::Install ( const TrafficSpec spec)

Member Data Documentation

◆ m_installedSinks

std::set<std::tuple<ns3::Ptr<ns3::Node>, uint16_t, std::string> > q2ns::CongestionHelper::m_installedSinks
private

Definition at line 63 of file q2ns-congestion-helper.h.

Referenced by Install().


The documentation for this class was generated from the following files: