A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::aodv Namespace Reference

Classes

struct  AodvRqueueTest
 Unit test for RequestQueue. More...
 
struct  AodvRtableEntryTest
 Unit test for AODV routing table entry. More...
 
struct  AodvRtableTest
 Unit test for AODV routing table. More...
 
class  AodvTestSuite
 
struct  CloseNeighbor
 
class  DeferredRouteOutputTag
 Tag used by AODV implementation. More...
 
class  DuplicatePacketDetection
 Helper class used to remember already seen packets and detect duplicates. More...
 
class  IdCache
 Unique packets identification cache used for simple duplicate detection. More...
 
struct  IdCacheTest
 Unit test for id cache. More...
 
class  IdCacheTestSuite
 
struct  IsExpired
 
struct  LoopbackTestCase
 AODV ping 127.0.0.1 test case. More...
 
class  Neighbors
 maintain list of active neighbors More...
 
struct  NeighborTest
 Unit test for neighbors. More...
 
class  QueueEntry
 AODV Queue Entry. More...
 
struct  QueueEntryTest
 Unit test for AODV routing table entry. More...
 
class  RequestQueue
 AODV route request queue. More...
 
class  RerrHeader
 Route Error (RERR) Message Format. More...
 
struct  RerrHeaderTest
 Unit test for RERR. More...
 
class  RoutingProtocol
 AODV routing protocol. More...
 
class  RoutingTable
 The Routing table used by AODV protocol. More...
 
class  RoutingTableEntry
 Routing table entry. More...
 
class  RrepAckHeader
 Route Reply Acknowledgment (RREP-ACK) Message Format. More...
 
struct  RrepAckHeaderTest
 Unit test for RREP-ACK. More...
 
class  RrepHeader
 Route Reply (RREP) Message Format. More...
 
struct  RrepHeaderTest
 Unit test for RREP. More...
 
class  RreqHeader
 Route Request (RREQ) Message Format. More...
 
struct  RreqHeaderTest
 Unit test for RREQ. More...
 
class  TypeHeader
 AODV types. More...
 
struct  TypeHeaderTest
 

Enumerations

enum  MessageType { AODVTYPE_RREQ = 1, AODVTYPE_RREP = 2, AODVTYPE_RERR = 3, AODVTYPE_RREP_ACK = 4 }
 
enum  RouteFlags { VALID = 0, INVALID = 1, IN_SEARCH = 2 }
 Route record states. More...
 

Functions

static uint32_t g_count (0)
 
std::ostream & operator<< (std::ostream &os, TypeHeader const &h)
 
std::ostream & operator<< (std::ostream &os, RreqHeader const &h)
 
std::ostream & operator<< (std::ostream &os, RrepHeader const &h)
 
std::ostream & operator<< (std::ostream &os, RrepAckHeader const &h)
 
std::ostream & operator<< (std::ostream &os, RerrHeader const &h)
 
static void PingRtt (std::string context, Time rtt)
 

Variables

ns3::aodv::AodvTestSuite g_aodvTestSuite
 
ns3::aodv::IdCacheTestSuite g_idCacheTestSuite
 

Enumeration Type Documentation

Enumerator
AODVTYPE_RREQ 

AODVTYPE_RREQ.

AODVTYPE_RREP 

AODVTYPE_RREP.

AODVTYPE_RERR 

AODVTYPE_RERR.

AODVTYPE_RREP_ACK 

AODVTYPE_RREP_ACK.

Definition at line 41 of file aodv-packet.h.

Function Documentation

static uint32_t ns3::aodv::g_count ( )
static

Referenced by ns3::aodv::LoopbackTestCase::DoRun(), and PingRtt().

+ Here is the caller graph for this function:

std::ostream & ns3::aodv::operator<< ( std::ostream &  os,
TypeHeader const &  h 
)

Definition at line 133 of file aodv-packet.cc.

References ns3::aodv::TypeHeader::Print().

+ Here is the call graph for this function:

std::ostream & ns3::aodv::operator<< ( std::ostream &  os,
RreqHeader const &  h 
)

Definition at line 216 of file aodv-packet.cc.

References ns3::aodv::RreqHeader::Print().

+ Here is the call graph for this function:

std::ostream & ns3::aodv::operator<< ( std::ostream &  os,
RrepHeader const &  h 
)

Definition at line 415 of file aodv-packet.cc.

References ns3::aodv::RrepHeader::Print().

+ Here is the call graph for this function:

std::ostream & ns3::aodv::operator<< ( std::ostream &  os,
RrepAckHeader const &  h 
)

Definition at line 482 of file aodv-packet.cc.

References ns3::aodv::RrepAckHeader::Print().

+ Here is the call graph for this function:

std::ostream & ns3::aodv::operator<< ( std::ostream &  os,
RerrHeader const &  h 
)

Definition at line 633 of file aodv-packet.cc.

References ns3::aodv::RerrHeader::Print().

+ Here is the call graph for this function:

static void ns3::aodv::PingRtt ( std::string  context,
Time  rtt 
)
static

Definition at line 51 of file loopback.cc.

References g_count().

Referenced by ns3::aodv::LoopbackTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

ns3::aodv::AodvTestSuite ns3::aodv::g_aodvTestSuite
ns3::aodv::IdCacheTestSuite ns3::aodv::g_idCacheTestSuite