NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn Namespace Reference

Namespaces

 cs
 Namespace for ContentStore operations.
 
 time
 

Classes

class  App
 Base class that all NDN applications should be derived from. More...
 
class  AppDelayTracer
 Tracer to obtain application-level delays. More...
 
class  AppFace
 Implementation of application Ndn face. More...
 
class  AppHelper
 A helper to make it easier to instantiate an ns3::ndn::App applications on a set of nodes. More...
 
class  Consumer
 NDN application for sending out Interest packets. More...
 
class  ConsumerBatches
 Ndn application for sending out Interest packets in batches. More...
 
class  ConsumerCbr
 Ndn application for sending out Interest packets at a "constant" rate (Poisson process) More...
 
class  ConsumerWindow
 Ndn application for sending out Interest packets (window-based) More...
 
class  ConsumerZipfMandelbrot
 NDN app requesting contents following Zipf-Mandelbrot Distbituion. More...
 
class  ContentStore
 Base class for NDN content store. More...
 
class  Convert
 
class  CsTracer
 NDN tracer for cache performance (hits and misses) More...
 
class  Data
 
class  FaceContainer
 A pool for Ndn faces. More...
 
class  FactoryCallbackApp
 An application that can be created using the supplied callback. More...
 
class  FibHelper
 Forwarding Information Base (FIB) helper. More...
 
class  FwHopCountTag
 Packet tag that is used to track hop count for Interest-Data pairs. More...
 
class  GlobalRouter
 Class representing global router interface for ndnSIM. More...
 
class  GlobalRoutingHelper
 Helper for GlobalRouter interface. More...
 
class  IgnoreSections
 
class  Interest
 
class  L3Protocol
 Implementation network-layer of NDN stack. More...
 
class  L3RateTracer
 NDN network-layer rate tracer. More...
 
class  L3Tracer
 Base class for network-layer (incoming/outgoing Interests and Data) tracing of NDN stack. More...
 
class  LinkControlHelper
 Helper class to control the up or down statuss of an NDN link connecting two specific nodes. More...
 
class  NameChecker
 
class  NameValue
 
class  NetDeviceFace
 Implementation of layer-2 (Ethernet) Ndn face. More...
 
class  Ns3BufferIteratorSource
 
class  Ns3PacketTag
 
class  PacketHeader
 
class  Producer
 A simple Interest-sink applia simple Interest-sink application. More...
 
class  RttEstimator
 Base class for all RTT Estimators. More...
 
class  RttHistory
 Helper class to store RTT measurements. More...
 
class  RttMeanDeviation
 The modified version of "Mean--Deviation" RTT estimator, as discussed by Van Jacobson that better suits NDN communication model. More...
 
class  ScenarioHelper
 Helper class to simplify writing basic simulation scenarios. More...
 
class  StackHelper
 Helper class to install NDN stack and configure its parameters. More...
 
class  StrategyChoiceHelper
 NFD Strategy Choice Helper (FIB) helper. More...
 

Typedefs

typedef PacketHeader< InterestInterestHeader
 
typedef PacketHeader< DataDataHeader
 
typedef std::deque< RttHistoryRttHistory_t
 

Functions

 NS_OBJECT_ENSURE_REGISTERED (ContentStore)
 
std::ostream & operator<< (std::ostream &os, const ContentStore &cs)
 
template<typename T1 >
Ptr< const AttributeAccessor > MakeNameAccessor (T1 a1)
 
template<typename T1 , typename T2 >
Ptr< const AttributeAccessor > MakeNameAccessor (T1 a1, T2 a2)
 
Ptr< const AttributeChecker > MakeNameChecker (void)
 
 NS_OBJECT_ENSURE_REGISTERED (GlobalRouter)
 
bool operator== (const GlobalRouter::Incidency &a, const GlobalRouter::Incidency &b)
 
bool operator!= (const GlobalRouter::Incidency &a, const GlobalRouter::Incidency &b)
 
 NS_OBJECT_ENSURE_REGISTERED (InterestHeader)
 
 NS_OBJECT_ENSURE_REGISTERED (DataHeader)
 
 NS_OBJECT_ENSURE_REGISTERED (L3Protocol)
 
 NS_OBJECT_ENSURE_REGISTERED (RttEstimator)
 
 NS_OBJECT_ENSURE_REGISTERED (RttMeanDeviation)
 
std::ostream & operator<< (std::ostream &os, const CsTracer &tracer)
 Helper to dump the trace to an output stream. More...
 
std::ostream & operator<< (std::ostream &os, const L3Tracer &tracer)
 Helper to dump the trace to an output stream. More...
 
 NS_OBJECT_ENSURE_REGISTERED (App)
 
 NS_OBJECT_ENSURE_REGISTERED (ConsumerBatches)
 
 NS_OBJECT_ENSURE_REGISTERED (ConsumerCbr)
 
 NS_OBJECT_ENSURE_REGISTERED (ConsumerWindow)
 
 NS_OBJECT_ENSURE_REGISTERED (ConsumerZipfMandelbrot)
 
 NS_OBJECT_ENSURE_REGISTERED (Consumer)
 
 NS_OBJECT_ENSURE_REGISTERED (Producer)
 

Variables

 Name
 
ndn FibHelper
 
ndn StrategyChoiceHelper
 
static std::list< std::tuple< shared_ptr< std::ostream >, std::list< Ptr< AppDelayTracer > > > > g_tracers
 
static std::list< std::tuple< shared_ptr< std::ostream >, std::list< Ptr< CsTracer > > > > g_tracers
 
static std::list< std::tuple< shared_ptr< std::ostream >, std::list< Ptr< L3RateTracer > > > > g_tracers
 
const double alpha = 0.8
 

Typedef Documentation

Definition at line 148 of file ndn-header.cpp.

Definition at line 149 of file ndn-header.cpp.

typedef std::deque<RttHistory> ns3::ndn::RttHistory_t

Definition at line 54 of file ndn-rtt-estimator.hpp.

Function Documentation

ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( ContentStore  )
std::ostream& ns3::ndn::operator<< ( std::ostream &  os,
const ContentStore cs 
)
inline

Definition at line 193 of file ndn-content-store.hpp.

References ns3::ndn::ContentStore::Print().

Referenced by ndn::PublicKey::operator!=().

template<typename T1 >
Ptr<const AttributeAccessor> ns3::ndn::MakeNameAccessor ( T1  a1)

Definition at line 47 of file ndn-common.hpp.

Referenced by ns3::ndn::Producer::GetTypeId(), and ns3::ndn::Consumer::GetTypeId().

template<typename T1 , typename T2 >
Ptr<const AttributeAccessor> ns3::ndn::MakeNameAccessor ( T1  a1,
T2  a2 
)

Definition at line 47 of file ndn-common.hpp.

Ptr<const AttributeChecker> ns3::ndn::MakeNameChecker ( void  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( GlobalRouter  )
bool ns3::ndn::operator== ( const GlobalRouter::Incidency a,
const GlobalRouter::Incidency b 
)
inline

Definition at line 133 of file ndn-global-router.hpp.

Referenced by ndn::Block::DEPRECATED().

bool ns3::ndn::operator!= ( const GlobalRouter::Incidency a,
const GlobalRouter::Incidency b 
)
inline

Definition at line 140 of file ndn-global-router.hpp.

Referenced by ndn::Block::DEPRECATED().

ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( InterestHeader  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( DataHeader  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( L3Protocol  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( RttEstimator  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( RttMeanDeviation  )
std::ostream& ns3::ndn::operator<< ( std::ostream &  os,
const CsTracer tracer 
)
inline

Helper to dump the trace to an output stream.

Definition at line 206 of file ndn-cs-tracer.hpp.

References ns3::ndn::CsTracer::Print(), and ns3::ndn::CsTracer::PrintHeader().

std::ostream& ns3::ndn::operator<< ( std::ostream &  os,
const L3Tracer tracer 
)
inline

Helper to dump the trace to an output stream.

Definition at line 137 of file ndn-l3-tracer.hpp.

References ns3::ndn::L3Tracer::Print(), and ns3::ndn::L3Tracer::PrintHeader().

ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( App  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( ConsumerBatches  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( ConsumerCbr  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( ConsumerWindow  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( ConsumerZipfMandelbrot  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( Consumer  )
ns3::ndn::NS_OBJECT_ENSURE_REGISTERED ( Producer  )

Variable Documentation

Definition at line 49 of file ndn-fib-helper.cpp.

std::list<std::tuple<shared_ptr<std::ostream>, std::list<Ptr<CsTracer> > > > ns3::ndn::g_tracers
static

Definition at line 42 of file ndn-cs-tracer.cpp.

std::list<std::tuple<shared_ptr<std::ostream>, std::list<Ptr<L3RateTracer> > > > ns3::ndn::g_tracers
static

Definition at line 40 of file ndn-l3-rate-tracer.cpp.

const double ns3::ndn::alpha = 0.8

Definition at line 237 of file ndn-l3-rate-tracer.cpp.