#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
Go to the source code of this file.
Functions | |
void | BuildAppsTest (uint32_t test) |
void | CheckQueueSize (Ptr< Queue > queue) |
Variables | |
double | avgQueueSize |
uint32_t | checkTimes |
double | client_start_time |
double | client_stop_time |
std::stringstream | filePlotQueue |
std::stringstream | filePlotQueueAvg |
double | global_start_time |
double | global_stop_time |
Ipv4InterfaceContainer | i0i2 |
Ipv4InterfaceContainer | i1i2 |
Ipv4InterfaceContainer | i2i3 |
Ipv4InterfaceContainer | i3i4 |
Ipv4InterfaceContainer | i3i5 |
NodeContainer | n0n2 |
NodeContainer | n1n2 |
NodeContainer | n2n3 |
NodeContainer | n3n4 |
NodeContainer | n3n5 |
double | sink_start_time |
double | sink_stop_time |
void BuildAppsTest | ( | uint32_t | test | ) |
Definition at line 98 of file red-tests.cc.
References ns3::ApplicationContainer::Add(), client_start_time, client_stop_time, ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::PacketSinkHelper::Install(), ns3::OnOffHelper::Install(), port, ns3::Seconds(), ns3::OnOffHelper::SetAttribute(), sink_start_time, sink_stop_time, ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
Definition at line 78 of file red-tests.cc.
References avgQueueSize, checkTimes, filePlotQueue, filePlotQueueAvg, ns3::Time::GetSeconds(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), and ns3::Seconds().
double avgQueueSize |
Definition at line 52 of file red-tests.cc.
Referenced by CheckQueueSize().
uint32_t checkTimes |
Definition at line 49 of file red-tests.cc.
Referenced by CheckQueueSize().
double client_start_time |
Definition at line 59 of file red-tests.cc.
Referenced by BuildAppsTest().
double client_stop_time |
Definition at line 60 of file red-tests.cc.
Referenced by BuildAppsTest().
std::stringstream filePlotQueue |
Definition at line 74 of file red-tests.cc.
Referenced by CheckQueueSize().
std::stringstream filePlotQueueAvg |
Definition at line 75 of file red-tests.cc.
Referenced by CheckQueueSize().
double global_start_time |
Definition at line 55 of file red-tests.cc.
double global_stop_time |
Definition at line 56 of file red-tests.cc.
Definition at line 68 of file red-tests.cc.
Definition at line 69 of file red-tests.cc.
Definition at line 70 of file red-tests.cc.
Definition at line 71 of file red-tests.cc.
Definition at line 72 of file red-tests.cc.
NodeContainer n0n2 |
Definition at line 62 of file red-tests.cc.
Referenced by Ipv4DynamicGlobalRoutingTestCase::DoRun().
NodeContainer n1n2 |
Definition at line 63 of file red-tests.cc.
Referenced by Ipv4DynamicGlobalRoutingTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), and Ns3TcpCwndTestCase2::DoRun().
NodeContainer n2n3 |
Definition at line 64 of file red-tests.cc.
Referenced by Ns3TcpCwndTestCase2::DoRun().
NodeContainer n3n4 |
Definition at line 65 of file red-tests.cc.
NodeContainer n3n5 |
Definition at line 66 of file red-tests.cc.
double sink_start_time |
Definition at line 57 of file red-tests.cc.
Referenced by BuildAppsTest().
double sink_stop_time |
Definition at line 58 of file red-tests.cc.
Referenced by BuildAppsTest().