#include <routing-table.hpp>
|
using | Error = ndn::tlv::Error |
|
Definition at line 89 of file routing-table.hpp.
◆ Error
◆ RoutingTable()
nlsr::RoutingTable::RoutingTable |
( |
ndn::Scheduler & |
scheduler, |
|
|
Lsdb & |
lsdb, |
|
|
ConfParameter & |
confParam |
|
) |
| |
|
explicit |
◆ ~RoutingTable()
nlsr::RoutingTable::~RoutingTable |
( |
| ) |
|
|
inline |
◆ 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 183 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 211 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 86 of file routing-table.cpp.
◆ findRoutingTableEntry()
RoutingTableEntry * nlsr::RoutingTable::findRoutingTableEntry |
( |
const ndn::Name & |
destRouter | ) |
|
◆ getDryRoutingTableEntry()
const std::list<RoutingTableEntry>& nlsr::RoutingTableStatus::getDryRoutingTableEntry |
( |
| ) |
const |
|
inlineinherited |
◆ getRoutingTableEntry()
const std::list<RoutingTableEntry>& nlsr::RoutingTableStatus::getRoutingTableEntry |
( |
| ) |
const |
|
inlineinherited |
◆ scheduleRoutingTableCalculation()
void nlsr::RoutingTable::scheduleRoutingTableCalculation |
( |
| ) |
|
Schedules a calculation event in the event scheduler only if one isn't already scheduled.
Definition at line 167 of file routing-table.cpp.
◆ wireEncode()
const ndn::Block & nlsr::RoutingTableStatus::wireEncode |
( |
| ) |
const |
|
inherited |
◆ afterRoutingChange
◆ m_dryTable
◆ m_rTable
◆ m_wire
ndn::Block nlsr::RoutingTableStatus::m_wire |
|
mutableprotectedinherited |