#include <routing-table.hpp>
Definition at line 41 of file routing-table.hpp.
| 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 180 of file routing-table.cpp.
| 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 229 of file routing-table.cpp.
| 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 54 of file routing-table.cpp.
| RoutingTableEntry * nlsr::RoutingTable::findRoutingTableEntry |
( |
const ndn::Name & |
destRouter | ) |
|
| const std::list<RoutingTableEntry>& nlsr::RoutingTable::getDryRoutingTableEntry |
( |
| ) |
const |
|
inline |
| int nlsr::RoutingTable::getNoNextHop |
( |
| ) |
|
|
inline |
| const ndn::time::seconds& nlsr::RoutingTable::getRoutingCalcInterval |
( |
| ) |
const |
|
inline |
| const std::list<RoutingTableEntry>& nlsr::RoutingTable::getRoutingTableEntry |
( |
| ) |
const |
|
inline |
| uint64_t nlsr::RoutingTable::getRtSize |
( |
| ) |
|
|
inline |
| void nlsr::RoutingTable::scheduleRoutingTableCalculation |
( |
| ) |
|
Schedules a calculation event in the event scheduler only if one isn't already scheduled.
Definition at line 161 of file routing-table.cpp.
| void nlsr::RoutingTable::setRoutingCalcInterval |
( |
uint32_t |
interval | ) |
|
|
inline |