NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
algorithm.cpp File Reference
#include "algorithm.hpp"
#include "scope-prefix.hpp"
Include dependency graph for algorithm.cpp:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::fw
 

Functions

bool nfd::fw::wouldViolateScope (const Face &inFace, const Interest &interest, const Face &outFace)
 determine whether forwarding the Interest in pitEntry to outFace would violate scope More...
 
int nfd::fw::findDuplicateNonce (const pit::Entry &pitEntry, Interest::Nonce nonce, const Face &face)
 determine whether pitEntry has duplicate Nonce nonce More...
 
bool nfd::fw::hasPendingOutRecords (const pit::Entry &pitEntry)
 determine whether pitEntry has any pending out-records More...
 
time::steady_clock::time_point nfd::fw::getLastOutgoing (const pit::Entry &pitEntry)
 
fib::NextHopList::const_iterator nfd::fw::findEligibleNextHopWithEarliestOutRecord (const Face &inFace, const Interest &interest, const fib::NextHopList &nexthops, const shared_ptr< pit::Entry > &pitEntry)
 pick an eligible NextHop with earliest out-record More...
 
bool nfd::fw::isNextHopEligible (const Face &inFace, const Interest &interest, const fib::NextHop &nexthop, const shared_ptr< pit::Entry > &pitEntry, bool wantUnused, time::steady_clock::time_point now)