A Discrete-Event Network Simulator
API
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
 
class  DsrNetworkQueueEntry
 DSR Network Queue Entry. More...
 
class  DsrNodeStab
 DsrNodeStab class (DSR node stability) More...
 
class  DsrOptionAck
 Dsr Option Ack. More...
 
class  DsrOptionAckHeader
 Acknowledgement (ACK) Message Format. More...
 
class  DsrOptionAckReq
 Dsr Option. 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
 Header for Dsr Options. More...
 
class  DsrOptionPad1
 Dsr Option Pad1. More...
 
class  DsrOptionPad1Header
 Header of Dsr Option Pad1. More...
 
class  DsrOptionPadn
 IPv4 Option Padn. More...
 
class  DsrOptionPadnHeader
 Header of Dsr Option Padn. More...
 
class  DsrOptionRerr
 Dsr Option Route Error. More...
 
class  DsrOptionRerrHeader
 Header of Dsr Option Route Error. More...
 
class  DsrOptionRerrUnreachHeader
 Route Error (RERR) Unreachable node address option Message Format. More...
 
class  DsrOptionRerrUnsupportedHeader
 Route Error (RERR) Unsupported option Message Format. More...
 
class  DsrOptionRrep
 Dsr Option Route Reply. More...
 
class  DsrOptionRrepHeader
 Route Reply (RREP) Message Format. More...
 
class  DsrOptionRreq
 Dsr Option Rreq. More...
 
class  DsrOptionRreqHeader
 Route Request (RREQ) Message Format. More...
 
class  DsrOptions
 
class  DsrOptionSR
 Dsr Option Source Route. 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
 DsrRouteCacheEntry class for entries in the route cache. More...
 
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
 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 DsrOptionSRHeader &sr)
 
static std::ostream & operator<< (std::ostream &os, const DsrRoutingHeader &dsr)
 

Typedef Documentation

◆ route_pair

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

Enumeration Type Documentation

◆ DsrMessageType

Enumerator
DSR_CONTROL_PACKET 
DSR_DATA_PACKET 

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

◆ LinkStates

State of link.

Enumerator
PROBABLE 

PROBABLE.

QUESTIONABLE 

QUESTIONABLE.

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

Function Documentation

◆ CompareRoutesBoth()

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

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

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

+ Here is the call graph for this function:

◆ 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 70 of file dsr-rcache.cc.

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

+ Here is the call graph for this function:

◆ operator<<() [1/2]

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

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

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

+ Here is the call graph for this function:

◆ operator<<() [2/2]

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

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

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

+ Here is the call graph for this function: