A Discrete-Event Network Simulator
API
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

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

◆ SetDrop()

bool SetDrop ( std::string  value)

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

References use_drop.

◆ SetTimeout()

bool SetTimeout ( std::string  value)

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

References ns3::Seconds(), and timeout.

+ Here is the call graph for this function:

◆ SetVerbose()

bool SetVerbose ( std::string  value)

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

References verbose.

Variable Documentation

◆ timeout

◆ use_drop

bool use_drop = false

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

Referenced by SetDrop().

◆ verbose