NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
All Attributes

This is a list of all attribute by class. For more information see the attribute section of this API documentation and the Attributes sections in the Tutorial and Manual.

ns3::ndn::ConsumerBatches

  • Batches: Batches to schedule. Should be vector, containing pairs of time and amount

ns3::ndn::Consumer

  • StartSeq: Initial sequence number
  • Prefix: Name of the Interest
  • LifeTime: LifeTime for interest packet
  • RetxTimer: Timeout defining how frequent retransmission timeouts should be checked

ns3::ndn::ConsumerCbr

  • Frequency: Frequency of interest packets
  • Randomize: Type of send time randomization: none (default), uniform, exponential
  • MaxSeq: Maximum sequence number to request

ns3::ndn::ConsumerWindow

  • Window: Initial size of the window
  • PayloadSize: Average size of content object size (to calculate interest generation rate)
  • Size: Amount of data in megabytes to request, relying on PayloadSize parameter (alternative to MaxSeq attribute)
  • MaxSeq: Maximum sequence number to request (alternative to Size attribute, would activate only if Size is -1). The parameter is activated only if Size negative (not set)
  • InitialWindowOnTimeout: Set window to initial value when timeout occurs

ns3::ndn::ConsumerZipfMandelbrot

  • NumberOfContents: Number of the Contents in total
  • q: parameter of improve rank
  • s: parameter of power

ns3::ndn::Producer

  • Prefix: Prefix, for which producer has the data
  • Postfix: Postfix that is added to the output data (e.g., for adding producer-uniqueness)
  • PayloadSize: Virtual payload size for Content packets
  • Freshness: Freshness of data packets, if 0, then unlimited freshness
  • Signature: Fake signature, 0 valid signature (default), other values application-specific
  • KeyLocator: Name to be used for key locator. If root, then key locator is not used

ns3::ndn::cs::Lru

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Random

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Fifo

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lfu

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lru::AggregateStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Random::AggregateStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Fifo::AggregateStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lfu::AggregateStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lru::Freshness

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Random::Freshness

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Fifo::Freshness

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lfu::Freshness

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Probability::Lru

  • CacheProbability: Set probability of caching in ContentStore. If 1, every content is cached. If 0, no content is cached.

ns3::ndn::cs::ProbabilityImpl::Lru

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Probability::Random

  • CacheProbability: Set probability of caching in ContentStore. If 1, every content is cached. If 0, no content is cached.

ns3::ndn::cs::ProbabilityImpl::Random

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Probability::Fifo

  • CacheProbability: Set probability of caching in ContentStore. If 1, every content is cached. If 0, no content is cached.

ns3::ndn::cs::ProbabilityImpl::Fifo

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Probability::Lfu

  • CacheProbability: Set probability of caching in ContentStore. If 1, every content is cached. If 0, no content is cached.

ns3::ndn::cs::ProbabilityImpl::Lfu

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lru::LifetimeStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Random::LifetimeStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Fifo::LifetimeStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced

ns3::ndn::cs::Lfu::LifetimeStats

  • MaxSize: Set maximum number of entries in ContentStore. If 0, limit is not enforced