represents a nexthop record in FIB entry More...
#include <fib-nexthop.hpp>
Public Member Functions | |
NextHop (shared_ptr< Face > face) | |
const shared_ptr< Face > & | getFace () const |
void | setCost (uint64_t cost) |
uint64_t | getCost () const |
represents a nexthop record in FIB entry
Definition at line 38 of file fib-nexthop.hpp.
|
explicit |
Definition at line 31 of file fib-nexthop.cpp.
const shared_ptr< Face > & nfd::fib::NextHop::getFace | ( | ) | const |
Definition at line 38 of file fib-nexthop.cpp.
Referenced by nfd::fw::predicate_NextHop_eligible(), and nfd::fw::predicate_PitEntry_canForwardTo_NextHop().
void nfd::fib::NextHop::setCost | ( | uint64_t | cost | ) |
Definition at line 44 of file fib-nexthop.cpp.
uint64_t nfd::fib::NextHop::getCost | ( | ) | const |
Definition at line 50 of file fib-nexthop.cpp.
Referenced by nfd::fib::Entry::removeNextHop().