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 noexcept
 
const Name & getPrefix () const noexcept
 
bool hasNextHop (const Face &face) const noexcept
 Returns whether there is a NextHop record for face. More...
 
bool hasNextHops () const noexcept
 Returns whether this Entry has any NextHop records. More...
 

Detailed Description

Represents an entry in the FIB.

See also
Fib

Definition at line 90 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
inlinenoexcept

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

◆ getPrefix()

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

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

◆ hasNextHop()

bool nfd::fib::Entry::hasNextHop ( const Face face) const
noexcept

Returns whether there is a NextHop record for face.

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

◆ hasNextHops()

bool nfd::fib::Entry::hasNextHops ( ) const
inlinenoexcept

Returns whether this Entry has any NextHop records.

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