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

Classes

struct  BlackList
 BlackList description. More...
 
struct  CloseNeighbor
 
class  DsrErrorBuffEntry
 DSR Error Buffer Entry. More...
 
class  DsrErrorBuffer
 DSR error buffer. More...
 
class  DsrFsHeader
 Dsr fixed size header Format. More...
 
class  DsrGraReply
 maintain the gratuitous reply More...
 
class  DsrLinkStab
 
class  DsrMaintainBuffEntry
 DSR Maintain Buffer Entry. More...
 
class  DsrMaintainBuffer
 DSR maintain buffer. More...
 
class  DsrNetworkQueue
 Introspection did not find any typical Config paths. More...
 
class  DsrNetworkQueueEntry
 DSR Network Queue Entry. More...
 
class  DsrNodeStab
 
class  DsrOptionAck
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionAckHeader
 Acknowledgement (ACK) Message Format. More...
 
class  DsrOptionAckReq
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionAckReqHeader
 Acknowledgement Request (ACK_RREQ) Message Format. More...
 
class  DsrOptionField
 
class  DsrOptionHeader
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionPad1
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionPad1Header
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionPadn
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionPadnHeader
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionRerr
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionRerrHeader
 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
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionRrepHeader
 Route Reply (RREP) Message Format. More...
 
class  DsrOptionRreq
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionRreqHeader
 Route Request (RREQ) Message Format. More...
 
class  DsrOptions
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionSR
 Introspection did not find any typical Config paths. More...
 
class  DsrOptionSRHeader
 Source Route (SR) Message Format. More...
 
class  DsrPassiveBuffEntry
 DSR Passive Buffer Entry. More...
 
class  DsrPassiveBuffer
 DSR passive buffer. More...
 
class  DsrReceivedRreqEntry
 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  DsrRouteCache
 DSR route request queue Since DSR is an on demand routing we queue requests while looking for route. More...
 
class  DsrRouteCacheEntry
 
class  DsrRouting
 Dsr Routing base. More...
 
class  DsrRoutingHeader
 Header of Dsr Routing. More...
 
class  DsrRreqTable
 maintain list of DsrRreqTable entry More...
 
class  DsrSendBuffEntry
 DSR Send Buffer Entry. More...
 
class  DsrSendBuffer
 DSR send buffer. 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...
 
struct  NetworkKey
 
struct  PassiveKey
 
struct  RreqTableEntry
 The route request table entries. More...
 

Typedefs

typedef std::list< DsrRouteCacheEntry >::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 DsrRouteCacheEntry &a, const DsrRouteCacheEntry &b)
 
bool CompareRoutesExpire (const DsrRouteCacheEntry &a, const DsrRouteCacheEntry &b)
 
bool CompareRoutesHops (const DsrRouteCacheEntry &a, const DsrRouteCacheEntry &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 104 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 DsrRouteCacheEntry a,
const DsrRouteCacheEntry b 
)

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

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

+ Here is the call graph for this function:

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

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

References ns3::dsr::DsrRouteCacheEntry::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 1344 of file dsr-option-header.h.

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

+ Here is the call graph for this function: