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

Classes

class  FibUpdate
 represents a FIB update More...
 
class  FibUpdater
 computes FibUpdates based on updates to the RIB and sends them to NFD More...
 
class  Nrd
 Class representing NRD (NFD RIB Manager) instance This class can be used to initialize all components of NRD. More...
 
class  RemoteRegistrator
 define the RemoteRegistrator class, which handles the registration/unregistration to remote hub(s). More...
 
class  Rib
 represents the RIB More...
 
class  RibEntry
 represents a RIB entry, which contains one or more Routes with the same prefix More...
 
class  RibManager
 
class  RibStatusPublisher
 
class  RibUpdate
 RibUpdate. More...
 
class  RibUpdateBatch
 represents a collection of RibUpdates to be applied to a single FaceId More...
 
class  Route
 represents a route for a name prefix More...
 

Typedefs

typedef std::list< RibUpdateRibUpdateList
 

Functions

std::ostream & operator<< (std::ostream &os, const FibUpdate &update)
 
std::ostream & operator<< (std::ostream &os, const RibEntry &entry)
 
std::ostream & operator<< (std::ostream &os, const RibUpdate::Action action)
 
std::ostream & operator<< (std::ostream &os, const RibUpdate &update)
 
static bool sortRoutes (const Route &lhs, const Route &rhs)
 
std::ostream & operator<< (std::ostream &os, const Rib &rib)
 
std::ostream & operator<< (std::ostream &os, const Route &route)
 
bool compareFaceIdAndOrigin (const Route &lhs, const Route &rhs)
 
bool compareFaceId (const Route &route, const uint64_t faceId)
 

Variables

 FibUpdater
 
static const std::string INTERNAL_CONFIG = "internal://nfd.conf"
 
 RemoteRegistrator
 
 RibManager
 
 RibStatusPublisher
 

Typedef Documentation

typedef std::list<RibUpdate> nfd::rib::RibUpdateList

Definition at line 35 of file rib-update-batch.hpp.

Function Documentation

std::ostream & nfd::rib::operator<< ( std::ostream &  os,
const RibEntry entry 
)

Definition at line 246 of file rib-entry.cpp.

References nfd::rib::RibEntry::getName().

std::ostream & nfd::rib::operator<< ( std::ostream &  os,
const RibUpdate::Action  action 
)
std::ostream & nfd::rib::operator<< ( std::ostream &  os,
const RibUpdate update 
)
static bool nfd::rib::sortRoutes ( const Route lhs,
const Route rhs 
)
inlinestatic

Definition at line 37 of file rib.cpp.

References nfd::rib::Route::faceId.

Referenced by nfd::rib::Rib::findDescendantsForNonInsertedName().

std::ostream & nfd::rib::operator<< ( std::ostream &  os,
const Rib rib 
)

Definition at line 501 of file rib.cpp.

std::ostream & nfd::rib::operator<< ( std::ostream &  os,
const Route route 
)
bool nfd::rib::compareFaceIdAndOrigin ( const Route lhs,
const Route rhs 
)
inline

Definition at line 90 of file route.hpp.

References nfd::rib::Route::faceId, and nfd::rib::Route::origin.

Referenced by nfd::rib::RibEntry::findRoute().

bool nfd::rib::compareFaceId ( const Route route,
const uint64_t  faceId 
)
inline

Variable Documentation

Definition at line 37 of file fib-updater.cpp.

const std::string nfd::rib::INTERNAL_CONFIG = "internal://nfd.conf"
static

Definition at line 41 of file nrd.cpp.

Definition at line 35 of file rib-manager.cpp.

Referenced by nfd::rib::Nrd::initialize().