nfd::fib::NextHop Class Reference

Represents a nexthop record in a FIB entry. More...

#include <daemon/table/fib-nexthop.hpp>

Public Member Functions

 NextHop (Face &face)
 
uint64_t getCost () const
 
FacegetFace () const
 
void setCost (uint64_t cost)
 

Detailed Description

Represents a nexthop record in a FIB entry.

Definition at line 36 of file fib-nexthop.hpp.

Constructor & Destructor Documentation

◆ NextHop()

nfd::fib::NextHop::NextHop ( Face face)
inlineexplicit

Definition at line 40 of file fib-nexthop.hpp.

Member Function Documentation

◆ getCost()

uint64_t nfd::fib::NextHop::getCost ( ) const
inline

Definition at line 52 of file fib-nexthop.hpp.

◆ getFace()

Face& nfd::fib::NextHop::getFace ( ) const
inline

Definition at line 46 of file fib-nexthop.hpp.

◆ setCost()

void nfd::fib::NextHop::setCost ( uint64_t  cost)
inline

Definition at line 58 of file fib-nexthop.hpp.