26 #ifndef NFD_RIB_FIB_UPDATE_HPP 27 #define NFD_RIB_FIB_UPDATE_HPP 50 this->faceId == other.
faceId &&
51 this->cost == other.
cost &&
52 this->action == other.
action);
77 <<
" Name: " << update.
name <<
", " 78 <<
"faceId: " << update.
faceId <<
", ";
81 os <<
"cost: " << update.
cost <<
", " 82 <<
"action: ADD_NEXTHOP";
85 os <<
"action: REMOVE_NEXTHOP";
96 #endif // NFD_RIB_FIB_UPDATE_HPP
std::ostream & operator<<(std::ostream &os, const FibUpdate &update)
static FibUpdate createAddUpdate(const Name &name, const uint64_t faceId, const uint64_t cost)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
bool operator==(const FibUpdate &other) const
static FibUpdate createRemoveUpdate(const Name &name, const uint64_t faceId)