nfd::scope_prefix Namespace Reference

Functions

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

Variables

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

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:

  • If an Interest is received from a local face, it can be forwarded to a non-local face.
  • If an Interest is received from a non-local face, it cannot be forwarded to a non-local face.
  • In either case the Interest can be forwarded to a local face.
  • 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.