A Discrete-Event Network Simulator
API
enums.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 
3 /*
4 * Copyright (c) 2020 DLTLT
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation;
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Corresponding author: Niki Hrovatin <niki.hrovatin@famnit.upr.si>
20 */
21 
22 #ifndef ENUMS_H
23 #define ENUMS_H
24 
25 namespace ns3 {
26 
41 enum Routing {
42  AODV = 0,
43  DSR,
44  OLSR,
46 };
47 
55 enum Topology {
56  GRID = 0,
58 };
59 
68  F_24GHz = 0,
70 };
71 
79 enum Verbosity {
80  NO =
81  0,
85 };
86 
95  N = 0,
96  Y
97 };
98 
107  NO_Body = 0,
111 };
112 
113 } // namespace ns3
114 
115 #endif /* ENUMS_H */
ns3::OLSR
@ OLSR
Optimized Link State Routing Protocol ns3::Olsr.
Definition: enums.h:44
ns3::ConsoleLog
@ ConsoleLog
Output data and simulation description on console log, output data in csv file.
Definition: enums.h:82
ns3
Definition: sensornode-helper.cc:26
ns3::CommunicationStatistics
CommunicationStatistics
Statistics about the communication overhead in the network at MAC and Application layer.
Definition: enums.h:94
ns3::BodyOptions
BodyOptions
Specifies how the onion body must behave.
Definition: enums.h:106
ns3::DSR
@ DSR
Dynamic Source Routing ns3::Dsr.
Definition: enums.h:43
ns3::Y
@ Y
output on file in "./src/onion_routing_wsn/sim_results/"
Definition: enums.h:96
ns3::DISC
@ DISC
Random disc topology.
Definition: enums.h:57
ns3::IEEE_80211n
IEEE_80211n
Enumeration defining different carrier frequencies of the standard IEEE 802.11n.
Definition: enums.h:67
ns3::F_5GHz
@ F_5GHz
5GHz
Definition: enums.h:69
ns3::FixedSize
@ FixedSize
the onion body will have a fixed size specified by the ns3::Sink::BodySize attribute
Definition: enums.h:109
ns3::GRID
@ GRID
Grid topology.
Definition: enums.h:56
ns3::NO
@ NO
No output on console log, except notifying simulation start and end, output data in csv file.
Definition: enums.h:80
ns3::DSDV
@ DSDV
Destination-Sequenced Distance Vector routing ns3::Dsdv.
Definition: enums.h:45
ns3::Both
@ Both
print all simulation output on console log and csv file
Definition: enums.h:84
ns3::NO_Body
@ NO_Body
The onion message won't have an onion body.
Definition: enums.h:107
ns3::Aggregate
@ Aggregate
The onion body will only aggregate a value.
Definition: enums.h:108
ns3::AggregateAndFixed
@ AggregateAndFixed
The onion body will aggregate a value and will maintain a fixed size apecified by the ns3::Sink::Body...
Definition: enums.h:110
ns3::PrintDescription
@ PrintDescription
No output on console log, print simulation description and data on csv file.
Definition: enums.h:83
ns3::Topology
Topology
Enumeration defining different network topologies that can be used in the simulation.
Definition: enums.h:55
ns3::N
@ N
no output
Definition: enums.h:95
ns3::F_24GHz
@ F_24GHz
2.4GHz
Definition: enums.h:68
ns3::Verbosity
Verbosity
Verbosity settings of the simulation.
Definition: enums.h:79
ns3::AODV
@ AODV
Ad Hoc On-Demand Distance Vector ns3::Aodv.
Definition: enums.h:42
ns3::Routing
Routing
Enumeration defining different routing algorithms that can be used in the simulator.
Definition: enums.h:41