NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::FibEntry Class Reference

#include <nfd-fib-entry.hpp>


class  Error

Public Member Functions

 FibEntry ()
 FibEntry (const Block &block)
const NamegetPrefix () const
FibEntrysetPrefix (const Name &prefix)
const std::list< NextHopRecord > & getNextHopRecords () const
FibEntryaddNextHopRecord (const NextHopRecord &nextHopRecord)
template<typename T >
FibEntrysetNextHopRecords (const T &begin, const T &end)
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
const BlockwireEncode () const
void wireDecode (const Block &wire)

Detailed Description

Definition at line 89 of file nfd-fib-entry.hpp.

Constructor & Destructor Documentation

§ FibEntry() [1/2]

ndn::nfd::FibEntry::FibEntry ( )

Definition at line 160 of file nfd-fib-entry.cpp.

§ FibEntry() [2/2]

ndn::nfd::FibEntry::FibEntry ( const Block block)

Definition at line 164 of file nfd-fib-entry.cpp.

References ndn::nfd::NextHopRecord::wireDecode().

Member Function Documentation

§ getPrefix()

const Name& ndn::nfd::FibEntry::getPrefix ( ) const

Definition at line 108 of file nfd-fib-entry.hpp.

§ setPrefix()

FibEntry & ndn::nfd::FibEntry::setPrefix ( const Name prefix)

Definition at line 170 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibManager::FibManager().

§ getNextHopRecords()

const std::list<NextHopRecord>& ndn::nfd::FibEntry::getNextHopRecords ( ) const

Definition at line 117 of file nfd-fib-entry.hpp.

§ addNextHopRecord()

FibEntry & ndn::nfd::FibEntry::addNextHopRecord ( const NextHopRecord nextHopRecord)

Definition at line 178 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibManager::FibManager().

§ setNextHopRecords()

template<typename T >
FibEntry& ndn::nfd::FibEntry::setNextHopRecords ( const T &  begin,
const T &  end 

§ wireEncode() [1/2]

template<encoding::Tag TAG>
size_t ndn::nfd::FibEntry::wireEncode ( EncodingImpl< TAG > &  block) const

Definition at line 187 of file nfd-fib-entry.cpp.

References ndn::tlv::nfd::FibEntry.

Referenced by nfd::FibManager::FibManager().

§ wireEncode() [2/2]

const Block & ndn::nfd::FibEntry::wireEncode ( ) const

§ wireDecode()

The documentation for this class was generated from the following files: