26 #ifndef NFD_DAEMON_TABLE_FIB_HPP 27 #define NFD_DAEMON_TABLE_FIB_HPP 34 #include <boost/range/adaptor/transformed.hpp> 38 namespace measurements {
49 class Fib : noncopyable
89 static constexpr
size_t 99 std::pair<Entry*, bool>
125 return this->getRange().begin();
134 return this->getRange().end();
142 findLongestPrefixMatchImpl(
const K& key)
const;
159 static const unique_ptr<Entry> s_emptyEntry;
168 #endif // NFD_DAEMON_TABLE_FIB_HPP std::pair< Entry *, bool > insert(const Name &prefix)
find or insert a FIB entry
Entry * findExactMatch(const Name &prefix)
performs an exact match lookup
void erase(const Name &prefix)
generalization of a network interface
const_iterator end() const
static constexpr size_t getMaxDepth()
Maximum number of components in a FIB entry prefix.
const Entry & findLongestPrefixMatch(const Name &prefix) const
performs a longest prefix match
represents a Measurements entry
Copyright (c) 2011-2015 Regents of the University of California.
represents the Forwarding Information Base (FIB)
const_iterator begin() const
Represents an absolute name.
boost::range_iterator< Range >::type const_iterator
void removeNextHop(Entry &entry, const Face &face)
removes the NextHop record for face
static const int FIB_MAX_DEPTH
Maximum number of components in a FIB entry prefix.
a common index structure for FIB, PIT, StrategyChoice, and Measurements
boost::iterator_range< Iterator > Range
a Forward Range of name tree entries
boost::transformed_range< name_tree::GetTableEntry< Entry >, const name_tree::Range > Range
an entry in the name tree