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

Classes

struct  BlackList
 BlackList description. More...
 
struct  CloseNeighbor
 
class  DsrFsHeader
 Dsr fixed size header Format. More...
 
class  DsrNetworkQueue
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrNetworkQueueEntry
 DSR Network Queue Entry. More...
 
class  DsrOptionAck
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionAckHeader
 Acknowledgement (ACK) Message Format. More...
 
class  DsrOptionAckReq
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionAckReqHeader
 Acknowledgement Request (ACK_RREQ) Message Format. More...
 
class  DsrOptionField
 
class  DsrOptionHeader
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionPad1
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionPad1Header
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionPadn
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionPadnHeader
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionRerr
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionRerrHeader
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionRerrUnreachHeader
 Route Error (RERR) Unreachable node address option Message Format. More...
 
class  DsrOptionRerrUnsupportHeader
 Route Error (RERR) Unsupported option Message Format. More...
 
class  DsrOptionRrep
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionRrepHeader
 Route Reply (RREP) Message Format. More...
 
class  DsrOptionRreq
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionRreqHeader
 Route Request (RREQ) Message Format. More...
 
class  DsrOptions
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionSR
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrOptionSRHeader
 Source Route (SR) Message Format. More...
 
class  DsrRouting
 Doxygen introspection did not find any typical Config paths. More...
 
class  DsrRoutingHeader
 Header of Dsr Routing. More...
 
class  ErrorBuffEntry
 DSR Error Buffer Entry. More...
 
class  ErrorBuffer
 DSR error buffer. More...
 
class  GraReply
 maintain the gratuitous reply More...
 
struct  GraReplyEntry
 
struct  IsExpired
 
struct  Link
 The route cache structure. More...
 
struct  LinkKey
 The maintenance buffer is responsible for maintaining packet next hop delivery The data packet is saved in maintenance buffer whenever the data packet is sent out of send buffer. More...
 
class  LinkStab
 
class  MaintainBuffEntry
 DSR Maintain Buffer Entry. More...
 
class  MaintainBuffer
 DSR maintain buffer. More...
 
struct  NetworkKey
 
class  NodeStab
 
class  PassiveBuffEntry
 DSR Passive Buffer Entry. More...
 
class  PassiveBuffer
 DSR passive buffer. More...
 
struct  PassiveKey
 
class  ReceivedRreqEntry
 The request entry for intermediate nodes to check if they have received this request or not This is used to control the duplication request from being processed. More...
 
class  RouteCache
 DSR route request queue Since DSR is an on demand routing we queue requests while looking for route. More...
 
class  RouteCacheEntry
 
class  RreqTable
 maintain list of RreqTable entry More...
 
struct  RreqTableEntry
 The route request table entries. More...
 
class  SendBuffEntry
 DSR Send Buffer Entry. More...
 
class  SendBuffer
 DSR send buffer. More...
 

Typedefs

typedef std::list
< RouteCacheEntry >
::value_type 
route_pair
 

Enumerations

enum  DsrMessageType { DSR_CONTROL_PACKET = 1, DSR_DATA_PACKET = 2 }
 
enum  ErrorType { NODE_UNREACHABLE = 1, FLOW_STATE_NOT_SUPPORTED = 2, OPTION_NOT_SUPPORTED = 3 }
 Route Error (RERR) Message Format. More...
 
enum  LinkStates { PROBABLE = 0, QUESTIONABLE = 1 }
 State of link. More...
 

Functions

bool CompareRoutesBoth (const RouteCacheEntry &a, const RouteCacheEntry &b)
 
bool CompareRoutesExpire (const RouteCacheEntry &a, const RouteCacheEntry &b)
 
bool CompareRoutesHops (const RouteCacheEntry &a, const RouteCacheEntry &b)
 
static std::ostream & operator<< (std::ostream &os, const DsrRoutingHeader &dsr)
 
static std::ostream & operator<< (std::ostream &os, const DsrOptionSRHeader &sr)
 

Typedef Documentation

Definition at line 103 of file dsr-rcache.cc.

Enumeration Type Documentation

Enumerator
DSR_CONTROL_PACKET 
DSR_DATA_PACKET 

Definition at line 44 of file dsr-network-queue.h.

State of link.

Enumerator
PROBABLE 

PROBABLE.

QUESTIONABLE 

QUESTIONABLE.

Definition at line 49 of file dsr-rreq-table.h.

Function Documentation

bool ns3::dsr::CompareRoutesBoth ( const RouteCacheEntry &  a,
const RouteCacheEntry &  b 
)

Definition at line 55 of file dsr-rcache.cc.

References ns3::dsr::RouteCacheEntry::GetExpireTime(), and ns3::dsr::RouteCacheEntry::GetVector().

+ Here is the call graph for this function:

bool ns3::dsr::CompareRoutesExpire ( const RouteCacheEntry &  a,
const RouteCacheEntry &  b 
)
bool ns3::dsr::CompareRoutesHops ( const RouteCacheEntry &  a,
const RouteCacheEntry &  b 
)

Definition at line 63 of file dsr-rcache.cc.

References ns3::dsr::RouteCacheEntry::GetVector().

+ Here is the call graph for this function:

static std::ostream& ns3::dsr::operator<< ( std::ostream &  os,
const DsrRoutingHeader &  dsr 
)
inlinestatic

Definition at line 323 of file dsr-fs-header.h.

References ns3::dsr::DsrRoutingHeader::Print().

+ Here is the call graph for this function:

static std::ostream& ns3::dsr::operator<< ( std::ostream &  os,
const DsrOptionSRHeader &  sr 
)
inlinestatic

Definition at line 1337 of file dsr-option-header.h.

References ns3::dsr::DsrOptionSRHeader::Print().

+ Here is the call graph for this function: