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 a FIB entry. More...

#include <fib-nexthop.hpp>

Public Member Functions

 NextHop (Face &face)
 
FacegetFace () const
 
uint64_t getCost () 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

◆ NextHop()

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

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

References Face.

Member Function Documentation

◆ getFace()

◆ getCost()

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

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

Referenced by nfd::FibManager::FibManager(), and nfd::fib::Entry::hasNextHop().

◆ setCost()

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

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

References Face.


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