A Discrete-Event Network Simulator
API
DSR Routing

This section documents the API of the ns-3 DSR module. More...

+ Collaboration diagram for DSR Routing:

Modules

 DSR routing module tests
 

Classes

class  ns3::dsr::DsrErrorBuffEntry
 DSR Error Buffer Entry. More...
 
class  ns3::dsr::DsrErrorBuffer
 DSR error buffer. More...
 
class  ns3::dsr::DsrFsHeader
 Dsr fixed size header Format. More...
 
class  ns3::dsr::DsrGraReply
 maintain the gratuitous reply More...
 
class  ns3::DsrHelper
 DSR helper class to manage creation of DSR routing instance and to insert it on a node as a sublayer between transport and IP layers. More...
 
class  ns3::DsrMainHelper
 Helper class that adds DSR routing to nodes. More...
 
class  ns3::dsr::DsrMaintainBuffEntry
 DSR Maintain Buffer Entry. More...
 
class  ns3::dsr::DsrMaintainBuffer
 DSR maintain buffer. More...
 
class  ns3::dsr::DsrNetworkQueueEntry
 DSR Network Queue Entry. More...
 
class  ns3::dsr::DsrOptionAckHeader
 Acknowledgement (ACK) Message Format. More...
 
class  ns3::dsr::DsrOptionAckReqHeader
 Acknowledgement Request (ACK_RREQ) Message Format. More...
 
class  ns3::dsr::DsrOptionRerrUnreachHeader
 Route Error (RERR) Unreachable node address option Message Format. More...
 
class  ns3::dsr::DsrOptionRerrUnsupportHeader
 Route Error (RERR) Unsupported option Message Format. More...
 
class  ns3::dsr::DsrOptionRrepHeader
 Route Reply (RREP) Message Format. More...
 
class  ns3::dsr::DsrOptionRreqHeader
 Route Request (RREQ) Message Format. More...
 
class  ns3::dsr::DsrOptionSRHeader
 Source Route (SR) Message Format. More...
 
class  ns3::dsr::DsrPassiveBuffEntry
 DSR Passive Buffer Entry. More...
 
class  ns3::dsr::DsrPassiveBuffer
 DSR passive buffer. More...
 
class  ns3::dsr::DsrRouteCache
 DSR route request queue Since DSR is an on demand routing we queue requests while looking for route. More...
 
class  ns3::dsr::DsrRreqTable
 maintain list of DsrRreqTable entry More...
 
class  ns3::dsr::DsrSendBuffEntry
 DSR Send Buffer Entry. More...
 
class  ns3::dsr::DsrSendBuffer
 DSR send buffer. More...
 
struct  ns3::dsr::Link
 The route cache structure. More...
 

Enumerations

enum  ns3::dsr::ErrorType { ns3::dsr::NODE_UNREACHABLE = 1, ns3::dsr::FLOW_STATE_NOT_SUPPORTED = 2, ns3::dsr::OPTION_NOT_SUPPORTED = 3 }
 Route Error (RERR) Message Format. More...
 

Detailed Description

This section documents the API of the ns-3 DSR module.

For a generic functional description, please refer to the ns-3 model library document.

Enumeration Type Documentation

Route Error (RERR) Message Format.

 |      0        |      1        |      2        |      3        |
 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  Option Type |  Opt Data Len |   Error Type  |Reservd| Salvage|
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                      Error Source Address                     |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                    Error Destination Address                  |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 .                    Type-Specific Information                  .
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Error type

Enumerator
NODE_UNREACHABLE 
FLOW_STATE_NOT_SUPPORTED 
OPTION_NOT_SUPPORTED 

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