#include <iostream>#include <fstream>#include "ns3/core-module.h"#include "ns3/network-module.h"#include "ns3/csma-module.h"#include "ns3/internet-module.h"#include "ns3/applications-module.h"#include "ns3/openflow-module.h"#include "ns3/log.h"
Include dependency graph for openflow-switch.cc:Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| bool | SetDrop (std::string value) |
| bool | SetTimeout (std::string value) |
| bool | SetVerbose (std::string value) |
Variables | |
| ns3::Time | timeout = ns3::Seconds (0) |
| bool | use_drop = false |
| bool | verbose = false |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 80 of file openflow-switch.cc.
References ns3::NetDeviceContainer::Add(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::Simulator::Destroy(), ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4Address::GetAny(), ns3::PacketSinkHelper::Install(), ns3::OpenFlowSwitchHelper::Install(), ns3::OnOffHelper::Install(), ns3::CsmaHelper::Install(), ns3::InternetStackHelper::Install(), ns3::Time::IsZero(), ns3::LOG_LEVEL_INFO, ns3::LogComponentEnable(), ns3::MakeCallback(), ns3::MilliSeconds(), NS_LOG_INFO, ns3::CommandLine::Parse(), port, ns3::Simulator::Run(), ns3::Seconds(), ns3::OnOffHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::CsmaHelper::SetChannelAttribute(), ns3::OnOffHelper::SetConstantRate(), SetDrop(), SetTimeout(), SetVerbose(), ns3::ApplicationContainer::Start(), ns3::ApplicationContainer::Stop(), timeout, use_drop, and verbose.
Here is the call graph for this function:| bool SetDrop | ( | std::string | value | ) |
Definition at line 62 of file openflow-switch.cc.
References use_drop.
Referenced by main().
Here is the caller graph for this function:| bool SetTimeout | ( | std::string | value | ) |
Definition at line 69 of file openflow-switch.cc.
References ns3::Seconds(), and timeout.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| bool SetVerbose | ( | std::string | value | ) |
Definition at line 55 of file openflow-switch.cc.
References verbose.
Referenced by main().
Here is the caller graph for this function:| ns3::Time timeout = ns3::Seconds (0) |
Definition at line 52 of file openflow-switch.cc.
Referenced by ns3::UanMacRc::Associate(), ns3::UanMacRc::AssociateTimeout(), ns3::MacLow::CreateBlockAckAgreement(), ns3::ArpCache::Entry::IsExpired(), main(), ns3::BlockAckManager::NotifyGotBlockAck(), ns3::Ipv6ExtensionFragment::Process(), ns3::MacLow::ResetBlockAckInactivityTimerIfNeeded(), ns3::UanMacRc::RtsTimeout(), ns3::UanMacRc::ScheduleData(), ns3::UanMacRc::SendRts(), ns3::ServiceFlow::SetArqPurgeTimeout(), ns3::ServiceFlow::SetArqRetryTimeoutRx(), ns3::ServiceFlow::SetArqRetryTimeoutTx(), ns3::StaWifiMac::SetAssocRequestTimeout(), ns3::EdcaTxopN::SetBlockAckInactivityTimeout(), ns3::QosWifiMacHelper::SetBlockAckInactivityTimeoutForAc(), ns3::TcpSocketBase::SetConnTimeout(), ns3::NscTcpSocketImpl::SetConnTimeout(), ns3::TcpSocketBase::SetDelAckTimeout(), ns3::NscTcpSocketImpl::SetDelAckTimeout(), ns3::TcpSocketBase::SetPersistTimeout(), ns3::NscTcpSocketImpl::SetPersistTimeout(), ns3::StaWifiMac::SetProbeRequestTimeout(), ns3::BlockAckAgreement::SetTimeout(), SetTimeout(), ns3::MgtAddBaRequestHeader::SetTimeout(), ns3::MgtAddBaResponseHeader::SetTimeout(), and ns3::BlockAckManager::UpdateAgreement().
| bool use_drop = false |
Definition at line 51 of file openflow-switch.cc.
| bool verbose = false |
Definition at line 50 of file openflow-switch.cc.
Referenced by WifiInterferenceTestCase::DoRun(), main(), and SetVerbose().