#include <routing-table.hpp>
Definition at line 41 of file routing-table.hpp.
◆ RoutingTable()
◆ addNextHop()
| void nlsr::RoutingTable::addNextHop |
( |
const ndn::Name & |
destRouter, |
|
|
NextHop & |
nh |
|
) |
| |
Adds a next hop to a routing table entry.
- Parameters
-
| destRouter | The destination router whose RTE we want to modify. |
| nh | The next hop to add to the RTE. |
Definition at line 175 of file routing-table.cpp.
◆ addNextHopToDryTable()
| void nlsr::RoutingTable::addNextHopToDryTable |
( |
const ndn::Name & |
destRouter, |
|
|
NextHop & |
nh |
|
) |
| |
Adds a next hop to a routing table entry in a dry run scenario.
- Parameters
-
| destRouter | The destination router whose RTE we want to modify. |
| nh | The next hop to add to the router. |
Definition at line 222 of file routing-table.cpp.
◆ calculate()
| void nlsr::RoutingTable::calculate |
( |
| ) |
|
Calculates a list of next hops for each router in the network.
Calculates the list of next hops to every other router in the network.
Definition at line 52 of file routing-table.cpp.
◆ findRoutingTableEntry()
| RoutingTableEntry * nlsr::RoutingTable::findRoutingTableEntry |
( |
const ndn::Name & |
destRouter | ) |
|
◆ getDryRoutingTableEntry()
| const std::list<RoutingTableEntry>& nlsr::RoutingTable::getDryRoutingTableEntry |
( |
| ) |
const |
|
inline |
◆ getRoutingCalcInterval()
| const ndn::time::seconds& nlsr::RoutingTable::getRoutingCalcInterval |
( |
| ) |
const |
|
inline |
◆ getRoutingTableEntry()
| const std::list<RoutingTableEntry>& nlsr::RoutingTable::getRoutingTableEntry |
( |
| ) |
const |
|
inline |
◆ getRtSize()
| uint64_t nlsr::RoutingTable::getRtSize |
( |
| ) |
|
|
inline |
◆ scheduleRoutingTableCalculation()
| void nlsr::RoutingTable::scheduleRoutingTableCalculation |
( |
| ) |
|
Schedules a calculation event in the event scheduler only if one isn't already scheduled.
Definition at line 159 of file routing-table.cpp.
◆ setRoutingCalcInterval()
| void nlsr::RoutingTable::setRoutingCalcInterval |
( |
uint32_t |
interval | ) |
|
|
inline |
◆ afterRoutingChange