nfd::fib::Entry Class Reference

Represents an entry in the FIB. More...

#include <daemon/table/fib-entry.hpp>

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

Public Member Functions

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

Detailed Description

Represents an entry in the FIB.

See also
Fib

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

Constructor & Destructor Documentation

◆ Entry()

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

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

Member Function Documentation

◆ getNextHops()

const NextHopList& nfd::fib::Entry::getNextHops ( ) const
inline

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

◆ getPrefix()

const Name& nfd::fib::Entry::getPrefix ( ) const
inline

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

◆ hasNextHop()

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

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

◆ 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.