A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
openflow-switch.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/csma-module.h"
#include "ns3/internet-module.h"
#include "ns3/log.h"
#include "ns3/network-module.h"
#include "ns3/openflow-module.h"
#include <fstream>
#include <iostream>
+ Include dependency graph for openflow-switch.cc:

Go to the source code of this file.

Functions

bool SetDrop (const std::string &value)
 
bool SetTimeout (const std::string &value)
 
bool SetVerbose (const std::string &value)
 

Variables

ns3::Time timeout = ns3::Seconds(0)
 
bool use_drop = false
 
bool verbose = false
 

Function Documentation

◆ SetDrop()

bool SetDrop ( const std::string &  value)

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

References use_drop.

◆ SetTimeout()

bool SetTimeout ( const std::string &  value)

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

References ns3::Seconds(), and timeout.

+ Here is the call graph for this function:

◆ SetVerbose()

bool SetVerbose ( const std::string &  value)

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

References verbose.

Variable Documentation

◆ timeout

◆ use_drop

bool use_drop = false

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

Referenced by SetDrop().

◆ verbose