#include <name-prefix-table-entry.hpp>
Definition at line 34 of file name-prefix-table-entry.hpp.
nlsr::NamePrefixTableEntry::NamePrefixTableEntry |
( |
| ) |
|
|
inline |
nlsr::NamePrefixTableEntry::NamePrefixTableEntry |
( |
const ndn::Name & |
namePrefix | ) |
|
|
inline |
void nlsr::NamePrefixTableEntry::addRoutingTableEntry |
( |
std::shared_ptr< RoutingTablePoolEntry > |
rtpePtr | ) |
|
Adds a routing entry to this NPT entry.
- Parameters
-
rtpePtr | The routing entry. |
Adds a routing table pool entry to this NPT entry's list (reminder: each RTPE has a next-hop list). They are used to calculate this entry's overall next-hop list.
Definition at line 65 of file name-prefix-table-entry.cpp.
void nlsr::NamePrefixTableEntry::generateNhlfromRteList |
( |
| ) |
|
const ndn::Name& nlsr::NamePrefixTableEntry::getNamePrefix |
( |
| ) |
const |
|
inline |
NexthopList& nlsr::NamePrefixTableEntry::getNexthopList |
( |
| ) |
|
|
inline |
const std::list<std::shared_ptr<RoutingTablePoolEntry> >& nlsr::NamePrefixTableEntry::getRteList |
( |
| ) |
const |
|
inline |
size_t nlsr::NamePrefixTableEntry::getRteListSize |
( |
| ) |
|
|
inline |
uint64_t nlsr::NamePrefixTableEntry::removeRoutingTableEntry |
( |
std::shared_ptr< RoutingTablePoolEntry > |
rtpePtr | ) |
|
Removes a routing entry from this NPT entry.
- Returns
- The number of NPTs using the just-removed routing entry.
Definition at line 46 of file name-prefix-table-entry.cpp.
void nlsr::NamePrefixTableEntry::resetRteListNextHop |
( |
| ) |
|
|
inline |
Resets the next hop lists of all routing table entries that advertise this name prefix.
Definition at line 63 of file name-prefix-table-entry.hpp.
void nlsr::NamePrefixTableEntry::writeLog |
( |
| ) |
|