Data abstraction for Nexthop.
More...
#include <nexthop.hpp>
|
using | Error = ndn::tlv::Error |
|
Data abstraction for Nexthop.
NextHop := NEXTHOP-TYPE TLV-LENGTH Uri Cost
- See also
- https://redmine.named-data.net/projects/nlsr/wiki/Routing_Table_Dataset
Definition at line 46 of file nexthop.hpp.
◆ Error
◆ NextHop() [1/3]
nlsr::NextHop::NextHop |
( |
| ) |
|
|
default |
◆ NextHop() [2/3]
nlsr::NextHop::NextHop |
( |
const ndn::FaceUri & |
cfu, |
|
|
double |
rc |
|
) |
| |
|
inline |
◆ NextHop() [3/3]
nlsr::NextHop::NextHop |
( |
const ndn::Block & |
block | ) |
|
|
inlineexplicit |
◆ getConnectingFaceUri()
const ndn::FaceUri& nlsr::NextHop::getConnectingFaceUri |
( |
| ) |
const |
|
inline |
◆ getRouteCost()
double nlsr::NextHop::getRouteCost |
( |
| ) |
const |
|
inline |
◆ getRouteCostAsAdjustedInteger()
uint64_t nlsr::NextHop::getRouteCostAsAdjustedInteger |
( |
| ) |
const |
|
inline |
◆ isHyperbolic()
bool nlsr::NextHop::isHyperbolic |
( |
| ) |
const |
|
inline |
◆ setConnectingFaceUri()
void nlsr::NextHop::setConnectingFaceUri |
( |
const ndn::FaceUri & |
cfu | ) |
|
|
inline |
◆ setHyperbolic()
void nlsr::NextHop::setHyperbolic |
( |
bool |
b | ) |
|
|
inline |
◆ setRouteCost()
void nlsr::NextHop::setRouteCost |
( |
const double |
rc | ) |
|
|
inline |
◆ wireDecode()
void nlsr::NextHop::wireDecode |
( |
const ndn::Block & |
wire | ) |
|
◆ wireEncode() [1/2]
const ndn::Block & nlsr::NextHop::wireEncode |
( |
| ) |
const |
◆ wireEncode() [2/2]
template<ndn::encoding::Tag TAG>
size_t nlsr::NextHop::wireEncode |
( |
ndn::EncodingImpl< TAG > & |
block | ) |
const |
◆ operator<
◆ operator==