represents a FIB entry More...
#include <daemon/table/fib-entry.hpp>
Inheritance diagram for nfd::fib::Entry:
Collaboration diagram for nfd::fib::Entry:Public Member Functions | |
| Entry (const Name &prefix) | |
| void | addNextHop (Face &face, uint64_t cost) |
| adds a NextHop record More... | |
| const NextHopList & | getNextHops () const |
| const Name & | getPrefix () const |
| bool | hasNextHop (const Face &face) const |
| bool | hasNextHops () const |
| void | removeNextHop (const Face &face) |
| removes a NextHop record More... | |
Friends | |
| class | name_tree::Entry |
represents a FIB entry
Definition at line 51 of file fib-entry.hpp.
|
explicit |
Definition at line 31 of file fib-entry.cpp.
| void nfd::fib::Entry::addNextHop | ( | Face & | face, |
| uint64_t | cost | ||
| ) |
adds a NextHop record
If a NextHop record for face already exists, its cost is updated.
Definition at line 53 of file fib-entry.cpp.
|
inline |
Definition at line 64 of file fib-entry.hpp.
|
inline |
Definition at line 58 of file fib-entry.hpp.
| bool nfd::fib::Entry::hasNextHop | ( | const Face & | face | ) | const |
face Definition at line 47 of file fib-entry.cpp.
|
inline |
Definition at line 72 of file fib-entry.hpp.
| void nfd::fib::Entry::removeNextHop | ( | const Face & | face | ) |
removes a NextHop record
If no NextHop record for face exists, do nothing.
Definition at line 66 of file fib-entry.cpp.
|
friend |
Definition at line 113 of file fib-entry.hpp.