represents a FIB update More...
#include <fib-update.hpp>
Public Types | |
enum | Action { ADD_NEXTHOP = 0, REMOVE_NEXTHOP = 1 } |
Public Member Functions | |
FibUpdate () | |
bool | operator== (const FibUpdate &other) const |
Static Public Member Functions | |
static FibUpdate | createAddUpdate (const Name &name, const uint64_t faceId, const uint64_t cost) |
static FibUpdate | createRemoveUpdate (const Name &name, const uint64_t faceId) |
Public Attributes | |
Name | name |
uint64_t | faceId |
uint64_t | cost |
Action | action |
represents a FIB update
Definition at line 37 of file fib-update.hpp.
Enumerator | |
---|---|
ADD_NEXTHOP | |
REMOVE_NEXTHOP |
Definition at line 61 of file fib-update.hpp.
|
inline |
Definition at line 40 of file fib-update.hpp.
|
inline |
Definition at line 47 of file fib-update.hpp.
References action, cost, createAddUpdate(), createRemoveUpdate(), faceId, and name.
|
static |
Definition at line 32 of file fib-update.cpp.
References action, ADD_NEXTHOP, cost, faceId, and name.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), and operator==().
|
static |
Definition at line 45 of file fib-update.cpp.
References action, faceId, name, and REMOVE_NEXTHOP.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), and operator==().
Name nfd::rib::FibUpdate::name |
Definition at line 67 of file fib-update.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), createAddUpdate(), createRemoveUpdate(), nfd::rib::operator<<(), and operator==().
uint64_t nfd::rib::FibUpdate::faceId |
Definition at line 68 of file fib-update.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), createAddUpdate(), createRemoveUpdate(), nfd::rib::operator<<(), and operator==().
uint64_t nfd::rib::FibUpdate::cost |
Definition at line 69 of file fib-update.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), createAddUpdate(), nfd::rib::operator<<(), and operator==().
Action nfd::rib::FibUpdate::action |
Definition at line 70 of file fib-update.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), createAddUpdate(), createRemoveUpdate(), nfd::rib::operator<<(), and operator==().