#include "ns3/log.h"
#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/flow-monitor-module.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("TcpNscComparison") | |
Variables | |
bool | enablePcap = false |
uint32_t | m_nNodes = 2 |
int | m_seed = 1 |
std::string | m_stack = "nsc-linux" |
std::string | sock_factory |
double | startTime = 4.0 |
double | stopTime = 20.0 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 47 of file tcp-nsc-comparison.cc.
References first::address, ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::GlobalValue::Bind(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), enablePcap, ns3::PcapHelperForDevice::EnablePcapAll(), ns3::RateErrorModel::ERROR_UNIT_PACKET, ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4Address::GetAny(), ns3::PacketSink::GetTotalRx(), ns3::PacketSinkHelper::Install(), ns3::OnOffHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, m_nNodes, m_seed, m_stack, first::nodes, ns3::CommandLine::Parse(), first::pointToPoint, ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), ns3::Simulator::Run(), ns3::Config::Set(), ns3::OnOffHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::RngSeedManager::SetSeed(), ns3::InternetStackHelper::SetTcp(), sock_factory, ns3::ApplicationContainer::Start(), startTime, ns3::Simulator::Stop(), and stopTime.
NS_LOG_COMPONENT_DEFINE | ( | "TcpNscComparison" | ) |
bool enablePcap = false |
Definition at line 44 of file tcp-nsc-comparison.cc.
Referenced by main().
uint32_t m_nNodes = 2 |
Definition at line 43 of file tcp-nsc-comparison.cc.
Referenced by main().
int m_seed = 1 |
Definition at line 40 of file tcp-nsc-comparison.cc.
Referenced by main().
std::string m_stack = "nsc-linux" |
Definition at line 38 of file tcp-nsc-comparison.cc.
Referenced by main().
std::string sock_factory |
Definition at line 39 of file tcp-nsc-comparison.cc.
Referenced by main().
double startTime = 4.0 |
Definition at line 41 of file tcp-nsc-comparison.cc.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), ns3::LteX2HandoverMeasuresTestCase::DoRun(), main(), ns3::DlFramePrefixIe::SetStartTime(), ns3::OfdmUlMapIe::SetStartTime(), ns3::OfdmDlMapIe::SetStartTime(), and WifiInterferenceTestCase::WifiSimpleInterference().
double stopTime = 20.0 |
Definition at line 42 of file tcp-nsc-comparison.cc.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), ns3::LteX2HandoverMeasuresTestCase::DoRun(), ns3::AnimationInterface::EnableIpv4RouteTracking(), and main().