The VanetRoutingExperiment class implements a wifi app that allows VANET routing experiments to be simulated. More...
Public Member Functions | |
VanetRoutingExperiment () | |
Constructor. | |
![]() | |
WifiApp () | |
Constructor. | |
virtual | ~WifiApp () |
Destructor. | |
void | Simulate (int argc, char **argv) |
Enacts simulation of an ns-3 wifi application. | |
Protected Member Functions | |
void | ConfigureApplications () override |
Configure applications. | |
void | ConfigureChannels () override |
Configure channels. | |
void | ConfigureDevices () override |
Configure devices. | |
void | ConfigureMobility () override |
Configure mobility. | |
void | ConfigureNodes () override |
Configure nodes. | |
void | ConfigureTracing () override |
Configure tracing. | |
void | ParseCommandLineArguments (int argc, char **argv) override |
Process command line arguments. | |
void | ProcessOutputs () override |
Process outputs. | |
void | RunSimulation () override |
Run the simulation. | |
void | SetDefaultAttributeValues () override |
Sets default attribute values. | |
virtual void | ConfigureApplications () |
Configure applications. | |
virtual void | ConfigureChannels () |
Configure channels. | |
virtual void | ConfigureDevices () |
Configure devices. | |
virtual void | ConfigureMobility () |
Configure mobility. | |
virtual void | ConfigureNodes () |
Configure nodes. | |
virtual void | ConfigureTracing () |
Configure tracing. | |
virtual void | ParseCommandLineArguments (int argc, char **argv) |
Process command line arguments. | |
virtual void | ProcessOutputs () |
Process outputs. | |
virtual void | RunSimulation () |
Run the simulation. | |
virtual void | SetDefaultAttributeValues () |
Sets default attribute values. | |
Private Member Functions | |
void | CheckThroughput () |
Checks the throughput and outputs summary to CSV file1. | |
void | CommandSetup (int argc, char **argv) |
Run the simulation. | |
void | ConfigureDefaults () |
Configure default attributes. | |
void | Run () |
Run the simulation. | |
void | SetConfigFromGlobals () |
Set up configuration parameter from the global variables. | |
void | SetGlobalsFromConfig () |
Set up the global variables from the configuration parameters. | |
void | SetupAdhocDevices () |
Set up the adhoc devices. | |
void | SetupAdhocMobilityNodes () |
Set up the adhoc mobility nodes. | |
void | SetupLogFile () |
Set up log file. | |
void | SetupLogging () |
Set up logging. | |
void | SetupRoutingMessages () |
Set up generation of packets to be routed through the vehicular network. | |
void | SetupScenario () |
Set up a prescribed scenario. | |
void | SetupWaveMessages () |
Set up generation of IEEE 1609 WAVE messages, as a Basic Safety Message (BSM). | |
void | WriteCsvHeader () |
Write the header line to the CSV file1. | |
Static Private Member Functions | |
static void | CourseChange (std::ostream *os, std::string context, Ptr< const MobilityModel > mobility) |
Course change function. | |
Private Attributes | |
uint32_t | m_80211mode |
80211 mode | |
NetDeviceContainer | m_adhocTxDevices |
adhoc transmit devices | |
Ipv4InterfaceContainer | m_adhocTxInterfaces |
adhoc transmit interfaces | |
NodeContainer | m_adhocTxNodes |
adhoc transmit nodes | |
bool | m_asciiTrace |
ascii trace | |
std::string | m_CSVfileName |
CSV file name. | |
std::string | m_CSVfileName2 |
CSV file name. | |
Time | m_cumulativeBsmCaptureStart |
capture start | |
std::string | m_exp |
exp | |
uint32_t | m_fading |
fading | |
double | m_gpsAccuracyNs |
GPS accuracy. | |
std::string | m_loadConfigFilename |
load config file name | |
bool | m_log |
log | |
std::string | m_logFile |
log file | |
uint32_t | m_lossModel |
loss model | |
std::string | m_lossModelName |
loss model name | |
uint32_t | m_mobility |
mobility | |
uint32_t | m_nNodes |
number of nodes | |
int | m_nodePause |
in s | |
int | m_nodeSpeed |
in m/s | |
uint32_t | m_nSinks |
number of sinks | |
std::ofstream | m_os |
output stream | |
bool | m_pcap |
PCAP. | |
std::string | m_phyMode |
phy mode | |
std::string | m_phyModeB |
phy mode | |
uint32_t | m_port |
port | |
uint32_t | m_protocol |
protocol | |
std::string | m_protocolName |
protocol name | |
std::string | m_rate |
rate | |
Ptr< RoutingHelper > | m_routingHelper |
routing helper | |
bool | m_routingTables |
routing tables | |
std::string | m_saveConfigFilename |
save config file name | |
uint32_t | m_scenario |
scenario | |
int64_t | m_streamIndex |
used to get consistent random numbers across scenarios | |
double | m_TotalSimTime |
total sim time | |
std::string | m_traceFile |
trace file | |
bool | m_traceMobility |
trace mobility | |
std::string | m_trName |
trace file name | |
double | m_txMaxDelayMs |
transmit maximum delay | |
double | m_txp |
distance | |
double | m_txSafetyRange1 |
range 1 | |
double | m_txSafetyRange10 |
range 10 | |
double | m_txSafetyRange2 |
range 2 | |
double | m_txSafetyRange3 |
range 3 | |
double | m_txSafetyRange4 |
range 4 | |
double | m_txSafetyRange5 |
range 5 | |
double | m_txSafetyRange6 |
range 6 | |
double | m_txSafetyRange7 |
range 7 | |
double | m_txSafetyRange8 |
range 8 | |
double | m_txSafetyRange9 |
range 9 | |
std::vector< double > | m_txSafetyRanges |
list of ranges | |
bool | m_verbose |
verbose | |
WaveBsmHelper | m_waveBsmHelper |
helper | |
double | m_waveInterval |
seconds | |
uint32_t | m_wavePacketSize |
bytes | |
Ptr< WifiPhyStats > | m_wifiPhyStats |
wifi phy statistics | |
The VanetRoutingExperiment class implements a wifi app that allows VANET routing experiments to be simulated.
Definition at line 1053 of file vanet-routing-compare.cc.
VanetRoutingExperiment::VanetRoutingExperiment | ( | ) |
Constructor.
Definition at line 1264 of file vanet-routing-compare.cc.
References m_log, m_routingHelper, and m_wifiPhyStats.
|
private |
Checks the throughput and outputs summary to CSV file1.
This is scheduled and called once per second
Definition at line 1793 of file vanet-routing-compare.cc.
References CheckThroughput(), RoutingStats::GetCumulativeTxBytes(), RoutingHelper::GetRoutingStats(), RoutingStats::GetRxBytes(), RoutingStats::GetRxPkts(), WifiPhyStats::GetTxBytes(), ns3::WaveBsmHelper::GetWaveBsmStats(), m_CSVfileName, m_cumulativeBsmCaptureStart, m_log, m_nSinks, m_protocolName, m_routingHelper, m_txp, m_waveBsmHelper, m_wifiPhyStats, ns3::Simulator::Now(), NS_LOG_UNCOND, packetsReceived, ns3::Time::S, ns3::Simulator::Schedule(), ns3::Seconds(), RoutingStats::SetRxBytes(), and RoutingStats::SetRxPkts().
Referenced by CheckThroughput(), and Run().
|
private |
Run the simulation.
argc | command line argument count |
argv | command line parameters |
Definition at line 2035 of file vanet-routing-compare.cc.
References ConfigStoreHelper::LoadConfig(), m_80211mode, m_asciiTrace, m_CSVfileName, m_CSVfileName2, m_cumulativeBsmCaptureStart, m_exp, m_fading, m_gpsAccuracyNs, m_loadConfigFilename, m_logFile, m_lossModel, m_mobility, m_nNodes, m_nodePause, m_nodeSpeed, m_nSinks, m_pcap, m_phyMode, m_phyModeB, m_protocol, m_rate, m_routingTables, m_saveConfigFilename, m_scenario, m_TotalSimTime, m_traceFile, m_traceMobility, m_txMaxDelayMs, m_txp, m_txSafetyRange1, m_txSafetyRange10, m_txSafetyRange2, m_txSafetyRange3, m_txSafetyRange4, m_txSafetyRange5, m_txSafetyRange6, m_txSafetyRange7, m_txSafetyRange8, m_txSafetyRange9, m_verbose, m_waveInterval, m_wavePacketSize, and SetConfigFromGlobals().
Referenced by ParseCommandLineArguments().
|
overrideprotectedvirtual |
Configure applications.
Reimplemented from WifiApp.
Definition at line 1667 of file vanet-routing-compare.cc.
References ns3::Config::Connect(), m_routingHelper, ns3::MakeCallback(), RoutingHelper::OnOffTrace(), SetupRoutingMessages(), and SetupWaveMessages().
|
overrideprotectedvirtual |
Configure channels.
Reimplemented from WifiApp.
Definition at line 1623 of file vanet-routing-compare.cc.
References SetupAdhocDevices().
|
private |
Configure default attributes.
Definition at line 2147 of file vanet-routing-compare.cc.
References m_80211mode, m_phyMode, m_phyModeB, m_rate, and ns3::Config::SetDefault().
Referenced by ParseCommandLineArguments().
|
overrideprotectedvirtual |
Configure devices.
Reimplemented from WifiApp.
Definition at line 1630 of file vanet-routing-compare.cc.
References ns3::Config::Connect(), m_80211mode, m_wifiPhyStats, ns3::MakeCallback(), WifiPhyStats::PhyRxDrop(), WifiPhyStats::PhyTxDrop(), and WifiPhyStats::PhyTxTrace().
|
overrideprotectedvirtual |
Configure mobility.
Reimplemented from WifiApp.
Definition at line 1661 of file vanet-routing-compare.cc.
References SetupAdhocMobilityNodes().
|
overrideprotectedvirtual |
Configure nodes.
Reimplemented from WifiApp.
Definition at line 1617 of file vanet-routing-compare.cc.
References ns3::NodeContainer::Create(), m_adhocTxNodes, and m_nNodes.
|
overrideprotectedvirtual |
Configure tracing.
Reimplemented from WifiApp.
Definition at line 1685 of file vanet-routing-compare.cc.
References ns3::AsciiTraceHelper::CreateFileStream(), ns3::MobilityHelper::EnableAsciiAll(), m_trName, SetupLogFile(), SetupLogging(), and WriteCsvHeader().
|
staticprivate |
Course change function.
os | the output stream |
context | trace source context (unused) |
mobility | the mobility model |
Definition at line 1769 of file vanet-routing-compare.cc.
References ns3::WaveBsmHelper::GetNodesMoving(), and ns3::Simulator::Now().
Referenced by SetupAdhocMobilityNodes().
|
overrideprotectedvirtual |
Process command line arguments.
argc | program arguments count |
argv | program arguments |
Reimplemented from WifiApp.
Definition at line 1583 of file vanet-routing-compare.cc.
References CommandSetup(), ConfigureDefaults(), ns3::WaveBsmHelper::GetWaveBsmStats(), m_log, m_routingHelper, m_saveConfigFilename, m_txSafetyRange1, m_txSafetyRange10, m_txSafetyRange2, m_txSafetyRange3, m_txSafetyRange4, m_txSafetyRange5, m_txSafetyRange6, m_txSafetyRange7, m_txSafetyRange8, m_txSafetyRange9, m_txSafetyRanges, m_waveBsmHelper, ConfigStoreHelper::SaveConfig(), SetGlobalsFromConfig(), RoutingHelper::SetLogging(), and SetupScenario().
|
overrideprotectedvirtual |
Process outputs.
Reimplemented from WifiApp.
Definition at line 1702 of file vanet-routing-compare.cc.
References RoutingStats::GetCumulativeRxBytes(), RoutingStats::GetCumulativeTxBytes(), RoutingHelper::GetRoutingStats(), WifiPhyStats::GetTxBytes(), ns3::WaveBsmHelper::GetWaveBsmStats(), m_CSVfileName2, m_log, m_os, m_routingHelper, m_TotalSimTime, m_waveBsmHelper, m_wifiPhyStats, and NS_LOG_UNCOND.
|
private |
Run the simulation.
Definition at line 1756 of file vanet-routing-compare.cc.
References CheckThroughput(), ns3::Simulator::Destroy(), m_TotalSimTime, NS_LOG_INFO, ns3::Simulator::Run(), ns3::Seconds(), and ns3::Simulator::Stop().
Referenced by RunSimulation().
|
overrideprotectedvirtual |
Run the simulation.
Reimplemented from WifiApp.
Definition at line 1696 of file vanet-routing-compare.cc.
References Run().
|
private |
Set up configuration parameter from the global variables.
Definition at line 1879 of file vanet-routing-compare.cc.
References ns3::BooleanValue::Get(), ns3::DoubleValue::Get(), ns3::TimeValue::Get(), ns3::StringValue::Get(), ns3::UintegerValue::Get(), ns3::GlobalValue::GetValueByName(), m_80211mode, m_asciiTrace, m_CSVfileName, m_CSVfileName2, m_cumulativeBsmCaptureStart, m_fading, m_gpsAccuracyNs, m_logFile, m_lossModel, m_mobility, m_nNodes, m_nodePause, m_nodeSpeed, m_nSinks, m_pcap, m_phyMode, m_phyModeB, m_port, m_protocol, m_rate, m_routingTables, m_scenario, m_TotalSimTime, m_traceFile, m_traceMobility, m_trName, m_txMaxDelayMs, m_txp, m_txSafetyRange1, m_txSafetyRange10, m_txSafetyRange2, m_txSafetyRange3, m_txSafetyRange4, m_txSafetyRange5, m_txSafetyRange6, m_txSafetyRange7, m_txSafetyRange8, m_txSafetyRange9, m_verbose, m_waveInterval, and m_wavePacketSize.
Referenced by CommandSetup().
|
overrideprotectedvirtual |
Sets default attribute values.
Reimplemented from WifiApp.
Definition at line 1327 of file vanet-routing-compare.cc.
|
private |
Set up the global variables from the configuration parameters.
Definition at line 1980 of file vanet-routing-compare.cc.
References g_80211mode, g_asciiTrace, g_CSVfileName, g_CSVfileName2, g_cumulativeBsmCaptureStart, g_fading, g_gpsAccuracyNs, g_logFile, g_lossModel, g_mobility, g_nNodes, g_nodePause, g_nodeSpeed, g_nSinks, g_pcap, g_phyMode, g_phyModeB, g_port, g_protocol, g_rate, g_routingTables, g_scenario, g_totalTime, g_traceFile, g_traceMobility, g_trName, g_txMaxDelayMs, g_txp, g_txSafetyRange1, g_txSafetyRange10, g_txSafetyRange2, g_txSafetyRange3, g_txSafetyRange4, g_txSafetyRange5, g_txSafetyRange6, g_txSafetyRange7, g_txSafetyRange8, g_txSafetyRange9, g_verbose, g_waveInterval, g_wavePacketSize, ns3::StringValue::Get(), ns3::GlobalValue::GetValueByName(), m_80211mode, m_asciiTrace, m_CSVfileName, m_CSVfileName2, m_cumulativeBsmCaptureStart, m_fading, m_gpsAccuracyNs, m_logFile, m_lossModel, m_mobility, m_nNodes, m_nodePause, m_nodeSpeed, m_nSinks, m_pcap, m_phyMode, m_phyModeB, m_port, m_protocol, m_rate, m_routingTables, m_scenario, m_TotalSimTime, m_traceFile, m_traceMobility, m_trName, m_txMaxDelayMs, m_txp, m_txSafetyRange1, m_txSafetyRange10, m_txSafetyRange2, m_txSafetyRange3, m_txSafetyRange4, m_txSafetyRange5, m_txSafetyRange6, m_txSafetyRange7, m_txSafetyRange8, m_txSafetyRange9, m_verbose, m_waveInterval, m_wavePacketSize, and ns3::GlobalValue::SetValue().
Referenced by ParseCommandLineArguments().
|
private |
Set up the adhoc devices.
Definition at line 2214 of file vanet-routing-compare.cc.
References ns3::YansWifiChannelHelper::AddPropagationLoss(), ns3::YansWifiChannelHelper::Create(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::YansWavePhyHelper::Default(), ns3::WaveHelper::Default(), ns3::NqosWaveMacHelper::Default(), ns3::QosWaveMacHelper::Default(), ns3::Wifi80211pHelper::Default(), ns3::WifiPhyHelper::DLT_IEEE802_11, ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::WaveHelper::EnableLogComponents(), ns3::Wifi80211pHelper::EnableLogComponents(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::WaveHelper::Install(), ns3::Wifi80211pHelper::Install(), m_80211mode, m_adhocTxDevices, m_adhocTxNodes, m_asciiTrace, m_fading, m_lossModel, m_lossModelName, m_pcap, m_phyMode, m_phyModeB, m_trName, m_txp, m_verbose, NS_LOG_ERROR, ns3::WifiPhyHelper::Set(), ns3::YansWifiPhyHelper::SetChannel(), ns3::WifiPhyHelper::SetPcapDataLinkType(), ns3::YansWifiChannelHelper::SetPropagationDelay(), ns3::WifiHelper::SetRemoteStationManager(), ns3::WaveHelper::SetRemoteStationManager(), ns3::WifiMacHelper::SetType(), and ns3::WIFI_STANDARD_80211b.
Referenced by ConfigureChannels().
|
private |
Set up the adhoc mobility nodes.
Definition at line 2165 of file vanet-routing-compare.cc.
References ns3::MobilityHelper::AssignStreams(), ns3::Config::Connect(), CourseChange(), ns3::ObjectFactory::Create(), ns3::WaveBsmHelper::GetNodesMoving(), ns3::Object::GetObject(), ns3::Ns2MobilityHelper::Install(), ns3::MobilityHelper::Install(), m_adhocTxNodes, m_mobility, m_nNodes, m_nodePause, m_nodeSpeed, m_os, m_streamIndex, m_traceFile, ns3::MakeBoundCallback(), ns3::ObjectFactory::Set(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), and ns3::ObjectFactory::SetTypeId().
Referenced by ConfigureMobility().
|
private |
Set up log file.
Definition at line 2131 of file vanet-routing-compare.cc.
References m_logFile, and m_os.
Referenced by ConfigureTracing().
|
private |
Set up logging.
Definition at line 2138 of file vanet-routing-compare.cc.
References ns3::Packet::EnablePrinting(), ns3::LOG_LEVEL_DEBUG, and ns3::LogComponentEnable().
Referenced by ConfigureTracing().
|
private |
Set up generation of packets to be routed through the vehicular network.
Definition at line 2393 of file vanet-routing-compare.cc.
References RoutingHelper::Install(), m_adhocTxDevices, m_adhocTxInterfaces, m_adhocTxNodes, m_nSinks, m_protocol, m_routingHelper, m_routingTables, and m_TotalSimTime.
Referenced by ConfigureApplications().
|
private |
Set up a prescribed scenario.
Definition at line 2405 of file vanet-routing-compare.cc.
References m_CSVfileName, m_logFile, m_mobility, m_nNodes, m_nodePause, m_nodeSpeed, m_scenario, m_TotalSimTime, and m_traceFile.
Referenced by ParseCommandLineArguments().
|
private |
Set up generation of IEEE 1609 WAVE messages, as a Basic Safety Message (BSM).
The BSM is typically a ~200-byte packets broadcast by all vehicles at a nominal rate of 10 Hz
Definition at line 2367 of file vanet-routing-compare.cc.
References ns3::WaveBsmHelper::AssignStreams(), ns3::WaveBsmHelper::Install(), m_80211mode, m_adhocTxInterfaces, m_adhocTxNodes, m_gpsAccuracyNs, m_streamIndex, m_TotalSimTime, m_txMaxDelayMs, m_txSafetyRanges, m_waveBsmHelper, m_waveInterval, m_wavePacketSize, ns3::MilliSeconds(), and ns3::Seconds().
Referenced by ConfigureApplications().
|
private |
Write the header line to the CSV file1.
Definition at line 2449 of file vanet-routing-compare.cc.
References m_CSVfileName, and m_CSVfileName2.
Referenced by ConfigureTracing().
|
private |
80211 mode
Definition at line 1216 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ConfigureDefaults(), ConfigureDevices(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocDevices(), and SetupWaveMessages().
|
private |
adhoc transmit devices
Definition at line 1232 of file vanet-routing-compare.cc.
Referenced by SetupAdhocDevices(), and SetupRoutingMessages().
|
private |
adhoc transmit interfaces
Definition at line 1233 of file vanet-routing-compare.cc.
Referenced by SetupRoutingMessages(), and SetupWaveMessages().
|
private |
adhoc transmit nodes
Definition at line 1248 of file vanet-routing-compare.cc.
Referenced by ConfigureNodes(), SetupAdhocDevices(), SetupAdhocMobilityNodes(), SetupRoutingMessages(), and SetupWaveMessages().
|
private |
ascii trace
Definition at line 1238 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
CSV file name.
Definition at line 1203 of file vanet-routing-compare.cc.
Referenced by CheckThroughput(), CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupScenario(), and WriteCsvHeader().
|
private |
CSV file name.
Definition at line 1204 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ProcessOutputs(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and WriteCsvHeader().
|
private |
capture start
Definition at line 1261 of file vanet-routing-compare.cc.
Referenced by CheckThroughput(), CommandSetup(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
|
private |
fading
Definition at line 1212 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
GPS accuracy.
Definition at line 1235 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupWaveMessages().
|
private |
load config file name
Definition at line 1240 of file vanet-routing-compare.cc.
Referenced by CommandSetup().
|
private |
log
Definition at line 1246 of file vanet-routing-compare.cc.
Referenced by VanetRoutingExperiment(), CheckThroughput(), ParseCommandLineArguments(), and ProcessOutputs().
|
private |
log file
Definition at line 1219 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupLogFile(), and SetupScenario().
|
private |
loss model
Definition at line 1211 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
loss model name
Definition at line 1213 of file vanet-routing-compare.cc.
Referenced by SetupAdhocDevices().
|
private |
mobility
Definition at line 1220 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocMobilityNodes(), and SetupScenario().
|
private |
number of nodes
Definition at line 1221 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ConfigureNodes(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocMobilityNodes(), and SetupScenario().
|
private |
in s
Definition at line 1227 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocMobilityNodes(), and SetupScenario().
|
private |
in m/s
Definition at line 1226 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocMobilityNodes(), and SetupScenario().
|
private |
number of sinks
Definition at line 1205 of file vanet-routing-compare.cc.
Referenced by CheckThroughput(), CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupRoutingMessages().
|
private |
output stream
Definition at line 1231 of file vanet-routing-compare.cc.
Referenced by ProcessOutputs(), SetupAdhocMobilityNodes(), and SetupLogFile().
|
private |
PCAP.
Definition at line 1239 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
phy mode
Definition at line 1215 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ConfigureDefaults(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
phy mode
Definition at line 1224 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ConfigureDefaults(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
port
Definition at line 1202 of file vanet-routing-compare.cc.
Referenced by SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
protocol
Definition at line 1209 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupRoutingMessages().
|
private |
protocol name
Definition at line 1206 of file vanet-routing-compare.cc.
Referenced by CheckThroughput().
|
private |
rate
Definition at line 1223 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ConfigureDefaults(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
routing helper
Definition at line 1244 of file vanet-routing-compare.cc.
Referenced by VanetRoutingExperiment(), CheckThroughput(), ConfigureApplications(), ParseCommandLineArguments(), ProcessOutputs(), and SetupRoutingMessages().
|
private |
routing tables
Definition at line 1237 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupRoutingMessages().
|
private |
save config file name
Definition at line 1241 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), and ParseCommandLineArguments().
|
private |
scenario
Definition at line 1234 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupScenario().
|
private |
used to get consistent random numbers across scenarios
Definition at line 1247 of file vanet-routing-compare.cc.
Referenced by SetupAdhocMobilityNodes(), and SetupWaveMessages().
|
private |
total sim time
Definition at line 1222 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ProcessOutputs(), Run(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupRoutingMessages(), SetupScenario(), and SetupWaveMessages().
|
private |
trace file
Definition at line 1218 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), SetupAdhocMobilityNodes(), and SetupScenario().
|
private |
trace mobility
Definition at line 1208 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
trace file name
Definition at line 1225 of file vanet-routing-compare.cc.
Referenced by ConfigureTracing(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
transmit maximum delay
Definition at line 1236 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupWaveMessages().
|
private |
distance
Definition at line 1207 of file vanet-routing-compare.cc.
Referenced by CheckThroughput(), CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
range 1
Definition at line 1249 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 10
Definition at line 1258 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 2
Definition at line 1250 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 3
Definition at line 1251 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 4
Definition at line 1252 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 5
Definition at line 1253 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 6
Definition at line 1254 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 7
Definition at line 1255 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 8
Definition at line 1256 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
range 9
Definition at line 1257 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), ParseCommandLineArguments(), SetConfigFromGlobals(), and SetGlobalsFromConfig().
|
private |
list of ranges
Definition at line 1259 of file vanet-routing-compare.cc.
Referenced by ParseCommandLineArguments(), and SetupWaveMessages().
|
private |
verbose
Definition at line 1230 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupAdhocDevices().
|
private |
helper
Definition at line 1243 of file vanet-routing-compare.cc.
Referenced by CheckThroughput(), ParseCommandLineArguments(), ProcessOutputs(), and SetupWaveMessages().
|
private |
seconds
Definition at line 1229 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupWaveMessages().
|
private |
bytes
Definition at line 1228 of file vanet-routing-compare.cc.
Referenced by CommandSetup(), SetConfigFromGlobals(), SetGlobalsFromConfig(), and SetupWaveMessages().
|
private |
wifi phy statistics
Definition at line 1245 of file vanet-routing-compare.cc.
Referenced by VanetRoutingExperiment(), CheckThroughput(), ConfigureDevices(), and ProcessOutputs().