NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::dsr::DsrRouting Class Reference

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

ns3::dsr::DsrRouting is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/$ns3::dsr::DsrRouting"

Attributes

  • RouteCache: The route cache for saving routes from route discovery process.
    • Set with class: ns3::PointerValue
    • Underlying type: ns3::Ptr< ns3::dsr::DsrRouteCache>
    • Initial value: 0
    • Flags: construct write read
  • RreqTable: The request table to manage route requests.
    • Set with class: ns3::PointerValue
    • Underlying type: ns3::Ptr< ns3::dsr::DsrRreqTable>
    • Initial value: 0
    • Flags: construct write read
  • PassiveBuffer: The passive buffer to manage promisucously received passive ack.
    • Set with class: ns3::PointerValue
    • Underlying type: ns3::Ptr< ns3::dsr::DsrPassiveBuffer>
    • Initial value: 0
    • Flags: construct write read
  • MaxSendBuffLen: Maximum number of packets that can be stored in send buffer.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 64
    • Flags: construct write read
  • MaxSendBuffTime: Maximum time packets can be queued in the send buffer .
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+10ns
    • Flags: construct write read
  • MaxMaintLen: Maximum number of packets that can be stored in maintenance buffer.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 50
    • Flags: construct write read
  • MaxMaintTime: Maximum time packets can be queued in maintenance buffer.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+10ns
    • Flags: construct write read
  • MaxCacheLen: Maximum number of route entries that can be stored in route cache.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 64
    • Flags: construct write read
  • RouteCacheTimeout: Maximum time the route cache can be queued in route cache.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+11ns
    • Flags: construct write read
  • MaxEntriesEachDst: Maximum number of route entries for a single destination to respond.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 20
    • Flags: construct write read
  • SendBuffInterval: How often to check send buffer for packet with route.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +5e+11ns
    • Flags: construct write read
  • NodeTraversalTime: The time it takes to traverse two neighboring nodes.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +4e+07ns
    • Flags: construct write read
  • RreqRetries: Maximum number of retransmissions for request discovery of a route.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 16
    • Flags: construct write read
  • MaintenanceRetries: Maximum number of retransmissions for data packets from maintenance buffer.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 2
    • Flags: construct write read
  • RequestTableSize: Maximum number of request entries in the request table, set this as the number of nodes in the simulation.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 64
    • Flags: construct write read
  • RequestIdSize: Maximum number of request source Ids in the request table.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 16
    • Flags: construct write read
  • UniqueRequestIdSize: Maximum number of request Ids in the request table for a single destination.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 256
    • Flags: construct write read
  • NonPropRequestTimeout: The timeout value for non-propagation request.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+07ns
    • Flags: construct write read
  • DiscoveryHopLimit: The max discovery hop limit for route requests.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 255
    • Flags: construct write read
  • MaxSalvageCount: The max salvage count for a single data packet.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint8_t 0:255
    • Initial value: 15
    • Flags: construct write read
  • BlacklistTimeout: The time for a neighbor to stay in blacklist.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+09ns
    • Flags: construct write read
  • GratReplyHoldoff: The time for gratuitous reply entry to expire.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+09ns
    • Flags: construct write read
  • BroadcastJitter: The jitter time to avoid collision for broadcast packets.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 10
    • Flags: construct write read
  • LinkAckTimeout: The time a packet in maintenance buffer wait for link acknowledgment.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+08ns
    • Flags: construct write read
  • TryLinkAcks: The number of link acknowledgment to use.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 1
    • Flags: construct write read
  • PassiveAckTimeout: The time a packet in maintenance buffer wait for passive acknowledgment.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+08ns
    • Flags: construct write read
  • TryPassiveAcks: The number of passive acknowledgment to use.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 1
    • Flags: construct write read
  • RequestPeriod: The base time interval between route requests.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +5e+08ns
    • Flags: construct write read
  • MaxRequestPeriod: The max time interval between route requests.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+10ns
    • Flags: construct write read
  • GraReplyTableSize: The gratuitous reply table size.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 64
    • Flags: construct write read
  • CacheType: Use Link Cache or use Path Cache
    • Set with class: StringValue
    • Underlying type:
    • Initial value: LinkCache
    • Flags: construct write read
  • StabilityDecrFactor: The stability decrease factor for link cache
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 2
    • Flags: construct write read
  • StabilityIncrFactor: The stability increase factor for link cache
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 4
    • Flags: construct write read
  • InitStability: The initial stability factor for link cache
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +2.5e+10ns
    • Flags: construct write read
  • MinLifeTime: The minimal life time for link cache
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+09ns
    • Flags: construct write read
  • UseExtends: The extension time for link cache
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1.2e+11ns
    • Flags: construct write read
  • EnableSubRoute: Enables saving of sub route when receiving route error messages, only available when using path route cache
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: construct write read
  • RetransIncr: The increase time for retransmission timer when facing network congestion
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +2e+07ns
    • Flags: construct write read
  • MaxNetworkQueueSize: The max number of packet to save in the network queue.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 400
    • Flags: construct write read
  • MaxNetworkQueueDelay: The max time for a packet to stay in the network queue.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +3e+10ns
    • Flags: construct write read
  • NumPriorityQueues: The max number of packet to save in the network queue.
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 2
    • Flags: construct write read
  • LinkAcknowledgment: Enable Link layer acknowledgment mechanism
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: construct write read

Attributes defined in parent class ns3::IpL4Protocol

  • ProtocolNumber: The IP protocol number.
    • Set with class: ns3::IntegerValue
    • Underlying type: int32_t 0:255
    • Flags: read

TraceSources

  • Tx: Send DSR packet.
    Callback signature: ns3::dsr::DsrOptionSRHeader::TracedCallback
  • Drop: Drop DSR packet
    Callback signature: ns3::Packet::TracedCallback

Size of this type is 1448 bytes (on a 64-bit architecture).


The documentation for this class was generated from the following file: