A Discrete-Event Network Simulator
API
Classes | Typedefs | Enumerations | Functions
ns3::dsr Namespace Reference

Classes

struct  BlackList
 BlackList description. More...
 
struct  CloseNeighbor
 CloseNeighbor structure. More...
 
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
 DsrLinkStab class (DSR link stability) More...
 
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
 DsrNodeStab class (DSR node stability) More...
 
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
 Option field for an DsrFsHeader Enables adding options to an DsrFsHeader. More...
 
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
 
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
 DsrRouteCacheEntry class for entries in the route cache. More...
 
class  DsrRouting
 
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
 The gratuitous table entries, it maintains the already sent gratuitous route reply entries. More...
 
struct  IsExpired
 IsExpired structure. More...
 
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
 NetworkKey structure. More...
 
struct  PassiveKey
 PassiveKey structure. More...
 
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

◆ route_pair

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

Enumeration Type Documentation

◆ DsrMessageType

Enumerator
DSR_CONTROL_PACKET 
DSR_DATA_PACKET 

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

◆ LinkStates

State of link.

Enumerator
PROBABLE 

PROBABLE.

QUESTIONABLE 

QUESTIONABLE.

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

Function Documentation

◆ CompareRoutesBoth()

bool ns3::dsr::CompareRoutesBoth ( const DsrRouteCacheEntry a,
const DsrRouteCacheEntry b 
)

◆ CompareRoutesExpire()

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

◆ CompareRoutesHops()

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

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

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

◆ operator<<() [1/2]

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().

◆ operator<<() [2/2]

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

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

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