#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/ipv6-routing-table-entry.h"
#include "ns3/ipv6-static-routing-helper.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/tcp-header.h"
#include "ns3/traffic-control-module.h"
#include <fstream>
#include <string>
Go to the source code of this file.
Functions | |
void | CheckQueueSize (Ptr< QueueDisc > queue, std::string queue_disc_type) |
static void | CwndTrace (Ptr< OutputStreamWrapper > stream, uint32_t oldCwnd, uint32_t newCwnd) |
void | experiment (std::string queue_disc_type) |
static void | TraceCwnd (std::string queue_disc_type) |
Variables | |
std::string | dir = "MixTraffic/" |
Definition at line 35 of file cobalt-vs-codel.cc.
References CheckQueueSize(), dir, fPlotQueue, ns3::Time::GetSeconds(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
Referenced by CheckQueueSize(), and experiment().
|
static |
Definition at line 48 of file cobalt-vs-codel.cc.
References ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by InstallBulkSend(), TraceCwnd(), and TraceCwnd().
void experiment | ( | std::string | queue_disc_type | ) |
Definition at line 68 of file cobalt-vs-codel.cc.
References ns3::ApplicationContainer::Add(), ns3::TrafficControlHelper::AddInternalQueues(), CheckQueueSize(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), dir, ns3::NodeContainer::Get(), ns3::QueueDiscContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::TcpSocketFactory::GetTypeId(), ns3::UdpSocketFactory::GetTypeId(), ns3::ApplicationHelper::Install(), ns3::PointToPointHelper::Install(), ns3::TrafficControlHelper::Install(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), port, ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Simulator::ScheduleNow(), ns3::Seconds(), ns3::ApplicationHelper::SetAttribute(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::TrafficControlHelper::SetRootQueueDisc(), sink, ns3::ApplicationContainer::Start(), ns3::ApplicationContainer::Stop(), ns3::Simulator::Stop(), stopTime, and TraceCwnd().
Referenced by ns3::DataCollector::DescribeRun(), PrintPsr(), PrintPsrVsCollisionInterval(), PrintPsrVsDistance(), and PrintSizeVsRange().
|
static |
Definition at line 54 of file cobalt-vs-codel.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), CwndTrace(), dir, and ns3::MakeBoundCallback().
Referenced by experiment().
std::string dir = "MixTraffic/" |
Definition at line 32 of file cobalt-vs-codel.cc.
Referenced by CheckQueueSize(), experiment(), and TraceCwnd().