nfd::scope_prefix Namespace Reference

contain Name prefix that affects namespace-based scope control More...

Functions

const Name LOCALHOST ("ndn:/localhost")
 
const Name LOCALHOP ("ndn:/localhop")
 

Variables

const Name LOCALHOST
 ndn:/localhost More...
 
const Name LOCALHOP
 ndn:/localhop More...
 

Detailed Description

contain Name prefix that affects namespace-based scope control

See also
http://redmine.named-data.net/projects/nfd/wiki/ScopeControl

Function Documentation

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

Variable Documentation

const Name nfd::scope_prefix::LOCALHOP

ndn:/localhop

The localhop scope limits propagation to no further than the next node.

Interest packets under prefix ndn:/localhop are restricted by these rules:

  • Interest can come from a local face or a non-local face.
  • If PIT entry has at least one in-record from a local face, it can be forwarded to local faces and non-local faces.
  • If PIT entry has all in-records from non-local faces, it can only be forwarded to local faces.
  • PIT entry can be satisfied by Data from any source.

Data packets under prefix ndn:/localhop are unrestricted.

const Name nfd::scope_prefix::LOCALHOST

ndn:/localhost

The localhost scope limits propagation to the applications on the originating host.

Interest and Data packets under prefix ndn:/localhost are restricted by these rules:

  • Interest can come from and go to local faces only.
  • Data can come from and go to local faces only.