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

represents a FIB entry More...

#include <fib-entry.hpp>

Inheritance diagram for nfd::fib::Entry:
Collaboration diagram for nfd::fib::Entry:

Public Member Functions

 Entry (const Name &prefix)
 
const NamegetPrefix () const
 
const NextHopListgetNextHops () const
 
bool hasNextHops () const
 
bool hasNextHop (const Face &face) const
 

Friends

class name_tree::Entry
 
class Fib
 

Detailed Description

represents a FIB entry

Definition at line 53 of file fib-entry.hpp.

Constructor & Destructor Documentation

◆ Entry()

nfd::fib::Entry::Entry ( const Name prefix)
explicit

Definition at line 31 of file fib-entry.cpp.

Member Function Documentation

◆ getPrefix()

◆ getNextHops()

◆ hasNextHops()

bool nfd::fib::Entry::hasNextHops ( ) const
inline
Returns
whether this Entry has any NextHop record

Definition at line 74 of file fib-entry.hpp.

Referenced by nfd::fw::SelfLearningStrategy::afterReceiveNack(), nfd::fw::Strategy::lookupFib(), and nfd::fib::Fib::removeNextHop().

◆ hasNextHop()

bool nfd::fib::Entry::hasNextHop ( const Face face) const
Returns
whether there is a NextHop record for face

Definition at line 46 of file fib-entry.cpp.

Referenced by nfd::fw::NccStrategy::afterReceiveInterest(), and nfd::fw::NccStrategy::doPropagate().

Friends And Related Function Documentation

◆ name_tree::Entry

friend class name_tree::Entry
friend

Definition at line 118 of file fib-entry.hpp.

◆ Fib

friend class Fib
friend

Definition at line 119 of file fib-entry.hpp.


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