#include <nexthop-list.hpp>
Definition at line 49 of file nexthop-list.hpp.
◆ const_iterator
◆ iterator
◆ NexthopList()
| nlsr::NexthopList::NexthopList |
( |
| ) |
|
|
inline |
◆ ~NexthopList()
| nlsr::NexthopList::~NexthopList |
( |
| ) |
|
|
inline |
◆ addNextHop()
| void nlsr::NexthopList::addNextHop |
( |
const NextHop & |
nh | ) |
|
Adds a next hop to the list.
- Parameters
-
Adds a next hop to this object. If the next hop is new it is added. If the next hop already exists in the list then that next hop's route cost is updated.
Definition at line 84 of file nexthop-list.cpp.
◆ begin()
◆ cbegin()
◆ cend()
◆ end()
◆ getNextHops()
◆ removeNextHop()
| void nlsr::NexthopList::removeNextHop |
( |
const NextHop & |
nh | ) |
|
Remove a next hop from the Next Hop list.
- Parameters
-
The next hop gets removed only if both next hop face and route cost are same.
Definition at line 99 of file nexthop-list.cpp.
◆ reset()
| void nlsr::NexthopList::reset |
( |
| ) |
|
|
inline |
◆ size()
| size_t nlsr::NexthopList::size |
( |
| ) |
const |
|
inline |
◆ writeLog()
| void nlsr::NexthopList::writeLog |
( |
| ) |
const |