A Discrete-Event Network Simulator
API
Enumerators

Be sure to read repository README.md before going down to the API. More...

Enumerations

enum  ns3::BodyOptions { ns3::NO_Body = 0, ns3::Aggregate, ns3::FixedSize, ns3::AggregateAndFixed }
 Specifies how the onion body must behave. More...
 
enum  ns3::CommunicationStatistics { ns3::N = 0, ns3::Y }
 Statistics about the communication overhead in the network at MAC and Application layer. More...
 
enum  ns3::IEEE_80211n { ns3::F_24GHz = 0, ns3::F_5GHz }
 Enumeration defining different carrier frequencies of the standard IEEE 802.11n. More...
 
enum  ns3::Routing { ns3::AODV = 0, ns3::DSR, ns3::OLSR, ns3::DSDV }
 Enumeration defining different routing algorithms that can be used in the simulator. More...
 
enum  ns3::Topology { ns3::GRID = 0, ns3::DISC }
 Enumeration defining different network topologies that can be used in the simulation. More...
 
enum  ns3::Verbosity { ns3::NO, ns3::ConsoleLog, ns3::PrintDescription, ns3::Both }
 Verbosity settings of the simulation. More...
 

Detailed Description

Be sure to read repository README.md before going down to the API.

Enumeration Type Documentation

◆ BodyOptions

Specifies how the onion body must behave.

Enumerator
NO_Body 

The onion message won't have an onion body.

Aggregate 

The onion body will only aggregate a value.

FixedSize 

the onion body will have a fixed size specified by the ns3::Sink::BodySize attribute

AggregateAndFixed 

The onion body will aggregate a value and will maintain a fixed size apecified by the ns3::Sink::BodySize attribute.

Definition at line 106 of file enums.h.

◆ CommunicationStatistics

Statistics about the communication overhead in the network at MAC and Application layer.

Enumerator

no output

output on file in "./src/onion_routing_wsn/sim_results/"

Definition at line 94 of file enums.h.

◆ IEEE_80211n

Enumeration defining different carrier frequencies of the standard IEEE 802.11n.

Enumerator
F_24GHz 

2.4GHz

F_5GHz 

5GHz

Definition at line 67 of file enums.h.

◆ Routing

Enumeration defining different routing algorithms that can be used in the simulator.

Enumerator
AODV 

Ad Hoc On-Demand Distance Vector ns3::Aodv.

DSR 

Dynamic Source Routing ns3::Dsr.

OLSR 

Optimized Link State Routing Protocol ns3::Olsr.

DSDV 

Destination-Sequenced Distance Vector routing ns3::Dsdv.

Definition at line 41 of file enums.h.

◆ Topology

Enumeration defining different network topologies that can be used in the simulation.

Enumerator
GRID 

Grid topology.

DISC 

Random disc topology.

Definition at line 55 of file enums.h.

◆ Verbosity

Verbosity settings of the simulation.

Enumerator
NO 

No output on console log, except notifying simulation start and end, output data in csv file.

ConsoleLog 

Output data and simulation description on console log, output data in csv file.

PrintDescription 

No output on console log, print simulation description and data on csv file.

Both 

print all simulation output on console log and csv file

Definition at line 79 of file enums.h.