A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
openflow-switch.cc File Reference
#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[])
 
 NS_LOG_COMPONENT_DEFINE ("OpenFlowCsmaSwitchExample")
 
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
 

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "OpenFlowCsmaSwitchExample"  )
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 timeout.

Referenced by main().

+ 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:

Variable Documentation

bool use_drop = false

Definition at line 51 of file openflow-switch.cc.

Referenced by main(), and SetDrop().

bool verbose = false

Definition at line 50 of file openflow-switch.cc.

Referenced by WifiInterferenceTestCase::DoRun(), main(), and SetVerbose().