NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::fib::NextHop Class Reference

represents a nexthop record in FIB entry More...

#include <fib-nexthop.hpp>

Public Member Functions

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

Detailed Description

represents a nexthop record in FIB entry

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

Constructor & Destructor Documentation

◆ NextHop()

nfd::fib::NextHop::NextHop ( Face face,
uint64_t  endpointId 
)
explicit

Definition at line 31 of file fib-nexthop.cpp.

Member Function Documentation

◆ getFace()

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

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

Referenced by nfd::fw::isNextHopEligible().

◆ getEndpointId()

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

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

◆ getCost()

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

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

◆ setCost()

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

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


The documentation for this class was generated from the following files: