NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
algorithm.cpp File Reference
#include "algorithm.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::scope_prefix
 contain name prefixes that affect namespace-based scope control
 
 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...
 
bool nfd::fw::violatesScope (const pit::Entry &pitEntry, const Face &outFace)
 
bool nfd::fw::canForwardToLegacy (const pit::Entry &pitEntry, const Face &face)
 decide whether Interest can be forwarded to face More...
 
int nfd::fw::findDuplicateNonce (const pit::Entry &pitEntry, uint32_t 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...
 

Variables

const Name nfd::scope_prefix::LOCALHOST ("ndn:/localhost")
 ndn:/localhost More...
 
const Name nfd::scope_prefix::LOCALHOP ("ndn:/localhop")
 ndn:/localhop More...