#include <fib-entry.hpp>
Classes | |
class | Error |
Public Member Functions | |
FibEntry () | |
FibEntry (const Block &block) | |
const Name & | getPrefix () const |
FibEntry & | setPrefix (const Name &prefix) |
const std::list< NextHopRecord > & | getNextHopRecords () const |
FibEntry & | addNextHopRecord (const NextHopRecord &nextHopRecord) |
template<typename T > | |
FibEntry & | setNextHopRecords (const T &begin, const T &end) |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &block) const |
const Block & | wireEncode () const |
void | wireDecode (const Block &wire) |
Definition at line 89 of file fib-entry.hpp.
ndn::nfd::FibEntry::FibEntry | ( | ) |
Definition at line 160 of file fib-entry.cpp.
|
explicit |
Definition at line 164 of file fib-entry.cpp.
References ndn::nfd::NextHopRecord::wireDecode().
|
inline |
Definition at line 108 of file fib-entry.hpp.
Definition at line 170 of file fib-entry.cpp.
References ndn::Block::reset().
Referenced by nfd::FibManager::FibManager().
|
inline |
Definition at line 117 of file fib-entry.hpp.
FibEntry & ndn::nfd::FibEntry::addNextHopRecord | ( | const NextHopRecord & | nextHopRecord | ) |
Definition at line 178 of file fib-entry.cpp.
References ndn::Block::reset().
Referenced by nfd::FibManager::FibManager().
|
inline |
Definition at line 127 of file fib-entry.hpp.
References ndn::nfd::NextHopRecord::wireDecode(), and ndn::nfd::NextHopRecord::wireEncode().
size_t ndn::nfd::FibEntry::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 187 of file fib-entry.cpp.
References ndn::tlv::nfd::FibEntry.
Referenced by nfd::FibManager::FibManager().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 209 of file fib-entry.cpp.
References ndn::Block::hasWire(), and ndn::nfd::NextHopRecord::wireEncode().
void ndn::nfd::FibEntry::wireDecode | ( | const Block & | wire | ) |
Definition at line 227 of file fib-entry.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::FibEntry, ndn::tlv::Name, ndn::nfd::NextHopRecord::NextHopRecord(), ndn::tlv::nfd::NextHopRecord, ndn::Block::parse(), and ndn::Block::type().