#include "ns3/core-module.h"
#include "ns3/propagation-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mobility-module.h"
#include "ns3/internet-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/wifi-module.h"
Go to the source code of this file.
Functions | |
void | experiment (bool enableCtsRts) |
Run single 10 seconds experiment with enabled or disabled RTS/CTS mechanism. More... | |
int | main (int argc, char **argv) |
void experiment | ( | bool | enableCtsRts | ) |
Run single 10 seconds experiment with enabled or disabled RTS/CTS mechanism.
Definition at line 44 of file wifi-hidden-terminal.cc.
References ns3::ApplicationContainer::Add(), ns3::Object::AggregateObject(), ns3::Ipv4AddressHelper::Assign(), ns3::FlowMonitor::CheckForLostPackets(), ns3::NodeContainer::Create(), ns3::NqosWifiMacHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress, ns3::Simulator::Destroy(), first::devices, ns3::Ipv4FlowClassifier::FindFlow(), ns3::NodeContainer::Get(), ns3::FlowMonitorHelper::GetClassifier(), ns3::FlowMonitor::GetFlowStats(), ns3::Object::GetObject(), ns3::OnOffHelper::Install(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::UdpEchoClientHelper::Install(), ns3::FlowMonitorHelper::InstallAll(), first::nodes, ns3::Simulator::Run(), ns3::OnOffHelper::SetAttribute(), ns3::UdpEchoClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::Config::SetDefault(), ns3::MatrixPropagationLossModel::SetDefaultLoss(), ns3::MatrixPropagationLossModel::SetLoss(), ns3::YansWifiChannel::SetPropagationDelayModel(), ns3::YansWifiChannel::SetPropagationLossModel(), ns3::WifiHelper::SetRemoteStationManager(), ns3::WifiHelper::SetStandard(), ns3::NqosWifiMacHelper::SetType(), ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress, ns3::Simulator::Stop(), and ns3::WIFI_PHY_STANDARD_80211b.
Referenced by ns3::DataCollector::DescribeRun(), main(), PrintPsr(), PrintPsrVsCollisionInterval(), PrintPsrVsDistance(), and PrintSizeVsRange().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 178 of file wifi-hidden-terminal.cc.
References experiment().