represents the Forwarding Information Base (FIB) More...
#include <daemon/table/fib.hpp>
Public Types | |
typedef boost::range_iterator< Range >::type | const_iterator |
typedef boost::transformed_range< name_tree::GetTableEntry< Entry >, const name_tree::Range > | Range |
Public Member Functions | |
Fib (NameTree &nameTree) | |
const_iterator | begin () const |
const_iterator | end () const |
void | erase (const Name &prefix) |
void | erase (const Entry &entry) |
Entry * | findExactMatch (const Name &prefix) |
performs an exact match lookup More... | |
const Entry & | findLongestPrefixMatch (const Name &prefix) const |
performs a longest prefix match More... | |
const Entry & | findLongestPrefixMatch (const pit::Entry &pitEntry) const |
performs a longest prefix match More... | |
const Entry & | findLongestPrefixMatch (const measurements::Entry &measurementsEntry) const |
performs a longest prefix match More... | |
std::pair< Entry *, bool > | insert (const Name &prefix) |
inserts a FIB entry for prefix More... | |
void | removeNextHop (Entry &entry, const Face &face) |
removes the NextHop record for face More... | |
size_t | size () const |
typedef boost::range_iterator<Range>::type nfd::fib::Fib::const_iterator |
typedef boost::transformed_range<name_tree::GetTableEntry<Entry>, const name_tree::Range> nfd::fib::Fib::Range |
|
inline |
|
inline |
Entry * nfd::fib::Fib::findExactMatch | ( | const Name & | prefix | ) |
const Entry & nfd::fib::Fib::findLongestPrefixMatch | ( | const Name & | prefix | ) | const |
const Entry & nfd::fib::Fib::findLongestPrefixMatch | ( | const pit::Entry & | pitEntry | ) | const |
const Entry & nfd::fib::Fib::findLongestPrefixMatch | ( | const measurements::Entry & | measurementsEntry | ) | const |
std::pair< Entry *, bool > nfd::fib::Fib::insert | ( | const Name & | prefix | ) |
void nfd::fib::Fib::removeNextHop | ( | Entry & | entry, |
const Face & | face | ||
) |