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, EndpointId endpointId)
 
uint64_t getCost () const
 
EndpointId getEndpointId () const
 
Face & getFace () const
 
void setCost (uint64_t cost)
 

Detailed Description

Represents a nexthop record in a FIB entry.

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

Constructor & Destructor Documentation

nfd::fib::NextHop::NextHop ( Face &  face,
EndpointId  endpointId 
)
inline

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

Member Function Documentation

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

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

EndpointId nfd::fib::NextHop::getEndpointId ( ) const
inline

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

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

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

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

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