26 #ifndef NFD_DAEMON_RIB_FIB_UPDATE_HPP
27 #define NFD_DAEMON_RIB_FIB_UPDATE_HPP
49 this->faceId == other.
faceId &&
50 this->cost == other.
cost &&
51 this->action == other.
action);
76 <<
" Name: " << update.
name <<
", "
77 <<
"faceId: " << update.
faceId <<
", ";
80 os <<
"cost: " << update.
cost <<
", "
81 <<
"action: ADD_NEXTHOP";
84 os <<
"action: REMOVE_NEXTHOP";
static FibUpdate createRemoveUpdate(const Name &name, const uint64_t faceId)
static FibUpdate createAddUpdate(const Name &name, const uint64_t faceId, const uint64_t cost)
bool operator==(const FibUpdate &other) const
std::ostream & operator<<(std::ostream &os, const FibUpdate &update)