#include <iostream>
#include <fstream>
#include <string>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
#include "ns3/error-model.h"
#include "ns3/tcp-header.h"
#include "ns3/udp-header.h"
#include "ns3/enum.h"
#include "ns3/event-id.h"
#include "ns3/ipv4-global-routing-helper.h"
Go to the source code of this file.
Functions | |
static void | CwndTracer (Ptr< OutputStreamWrapper >stream, uint32_t oldval, uint32_t newval) |
int | main (int argc, char *argv[]) |
static void | TraceCwnd (std::string cwndTrFileName) |
|
static |
Definition at line 56 of file codel-vs-droptail-basic-test.cc.
References ns3::OutputStreamWrapper::GetStream().
Referenced by TraceCwnd().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 77 of file codel-vs-droptail-basic-test.cc.
References ns3::Ipv4InterfaceContainer::Add(), first::address, ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::GlobalValue::Bind(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), first::devices, ns3::PcapHelperForDevice::EnablePcap(), ns3::Ipv4InterfaceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::TcpSocketFactory::GetTypeId(), ns3::PacketSinkHelper::Install(), ns3::BulkSendHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::InstallAll(), first::interfaces, ns3::LOG_LEVEL_ALL, ns3::LOG_LEVEL_INFO, ns3::LogComponentEnable(), ns3::Ipv4AddressHelper::NewNetwork(), NS_LOG_DEBUG, NS_LOG_INFO, ns3::CommandLine::Parse(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), port, ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::PacketSinkHelper::SetAttribute(), ns3::BulkSendHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::PointToPointHelper::SetQueue(), first::stack, ns3::ApplicationContainer::Start(), startTime, ns3::Simulator::Stop(), ns3::ApplicationContainer::Stop(), stopTime, and TraceCwnd().
|
static |
Definition at line 62 of file codel-vs-droptail-basic-test.cc.
References ns3::Config::ConnectWithoutContext(), ns3::AsciiTraceHelper::CreateFileStream(), CwndTracer(), ns3::MakeBoundCallback(), and NS_LOG_DEBUG.
Referenced by main().