NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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 (shared_ptr< Face > face)
 
const shared_ptr< Face > & getFace () const
 
void setCost (uint64_t cost)
 
uint64_t getCost () const
 

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 ( shared_ptr< Face >  face)
explicit

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

Member Function Documentation

§ getFace()

const shared_ptr< Face > & nfd::fib::NextHop::getFace ( ) const

§ setCost()

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

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

§ getCost()

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

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

Referenced by nfd::fib::Entry::removeNextHop().


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