A Discrete-Event Network Simulator
API
ns3::aodv Namespace Reference

Classes

class  AodvLoopbackTestSuite
 AODV Loopback test suite. More...
 
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
 AODV test suite. More...
 
struct  CloseNeighbor
 CloseNeighbor structure. More...
 
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...
 
class  IdCacheTest
 Unit test for id cache. More...
 
class  IdCacheTestSuite
 Id Cache Test Suite. More...
 
struct  IsExpired
 IsExpired structure. More...
 
class  LoopbackTestCase
 AODV loopback UDP echo 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
 Type header test case. More...
 

Enumerations

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

Functions

std::ostream & operator<< (std::ostream &os, TypeHeader const &h)
 Stream output operator. More...
 
std::ostream & operator<< (std::ostream &os, RreqHeader const &)
 Stream output operator. More...
 
std::ostream & operator<< (std::ostream &os, RrepHeader const &)
 Stream output operator. More...
 
std::ostream & operator<< (std::ostream &os, RrepAckHeader const &)
 Stream output operator. More...
 
std::ostream & operator<< (std::ostream &os, RerrHeader const &)
 Stream output operator. More...
 

Variables

ns3::aodv::AodvLoopbackTestSuite g_aodvLoopbackTestSuite
 the test suite More...
 
ns3::aodv::AodvTestSuite g_aodvTestSuite
 the test suite More...
 
ns3::aodv::IdCacheTestSuite g_idCacheTestSuite
 the test suite More...
 

Function Documentation

◆ operator<<() [1/5]

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

Stream output operator.

Parameters
osoutput stream
Returns
updated stream

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

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

+ Here is the call graph for this function:

◆ operator<<() [2/5]

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

Stream output operator.

Parameters
osoutput stream
Returns
updated stream

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

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

+ Here is the call graph for this function:

◆ operator<<() [3/5]

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

Stream output operator.

Parameters
osoutput stream
Returns
updated stream

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

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

+ Here is the call graph for this function:

◆ operator<<() [4/5]

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

Stream output operator.

Parameters
osoutput stream
Returns
updated stream

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

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

+ Here is the call graph for this function:

◆ operator<<() [5/5]

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

Stream output operator.

Parameters
osoutput stream
Returns
updated stream

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

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

+ Here is the call graph for this function: