nfd::fib::NextHop Class Reference

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

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

Public Member Functions

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

Detailed Description

Represents a nexthop record in a FIB entry.

Definition at line 49 of file fib-entry.hpp.

Constructor & Destructor Documentation

◆ NextHop()

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

Definition at line 53 of file fib-entry.hpp.

Member Function Documentation

◆ getCost()

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

Definition at line 65 of file fib-entry.hpp.

◆ getFace()

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

Definition at line 59 of file fib-entry.hpp.

◆ setCost()

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

Definition at line 71 of file fib-entry.hpp.