NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

nfd::fib::NextHop::NextHop ( shared_ptr< Face face)
explicit

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

Member Function Documentation

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

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

Referenced by nfd::FibEnumerationPublisher::generate().

const shared_ptr< Face > & nfd::fib::NextHop::getFace ( ) const
void nfd::fib::NextHop::setCost ( uint64_t  cost)

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

Referenced by nfd::FibEnumerationPublisher::generate().


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