Represents a FIB update. More...
#include <daemon/rib/fib-update.hpp>
Public Types | |
enum | Action { ADD_NEXTHOP = 0 , REMOVE_NEXTHOP = 1 } |
Static Public Member Functions | |
static FibUpdate | createAddUpdate (const Name &name, uint64_t faceId, uint64_t cost) |
static FibUpdate | createRemoveUpdate (const Name &name, uint64_t faceId) |
Public Attributes | |
Action | action |
uint64_t | cost = 0 |
uint64_t | faceId = 0 |
Name | name |
Friends | |
bool | operator== (const FibUpdate &lhs, const FibUpdate &rhs) noexcept |
Represents a FIB update.
Definition at line 38 of file fib-update.hpp.
Enumerator | |
---|---|
ADD_NEXTHOP | |
REMOVE_NEXTHOP |
Definition at line 41 of file fib-update.hpp.
|
static |
Definition at line 31 of file fib-update.cpp.
|
static |
Definition at line 42 of file fib-update.cpp.
Definition at line 54 of file fib-update.hpp.
Action nfd::rib::FibUpdate::action |
Definition at line 66 of file fib-update.hpp.
uint64_t nfd::rib::FibUpdate::cost = 0 |
Definition at line 65 of file fib-update.hpp.
uint64_t nfd::rib::FibUpdate::faceId = 0 |
Definition at line 64 of file fib-update.hpp.
Name nfd::rib::FibUpdate::name |
Definition at line 63 of file fib-update.hpp.