10#ifndef Q2NS_CONGESTION_HELPER_H
11#define Q2NS_CONGESTION_HELPER_H
13#include "ns3/data-rate.h"
14#include "ns3/ipv4-address.h"
16#include "ns3/object.h"
54 static double ComputeTcpWarmup(
double rateMbps,
double rttSec, uint32_t mssBytes = 1200,
55 double initCwndPkts = 10.0);
59 static ns3::Ptr<ns3::Node>
FindNodeByName(
const std::string& name);
void Install(const TrafficSpec &spec)
static ns3::Ipv4Address FirstNonLoopback(ns3::Ptr< ns3::Node > node)
static double ComputeTcpWarmup(double rateMbps, double rttSec, uint32_t mssBytes=1200, double initCwndPkts=10.0)
static ns3::Ptr< ns3::Node > FindNodeByName(const std::string &name)
CongestionHelper()=default
std::set< std::tuple< ns3::Ptr< ns3::Node >, uint16_t, std::string > > m_installedSinks
std::vector< TrafficFlow > flows