Expand description
Namespace isolation — well-known prefix constants and scope enforcement.
All discovery and local management traffic lives under /ndn/local/, which
must never be forwarded beyond the local link. This mirrors IPv6
link-local address semantics (fe80::/10).
§Reserved sub-namespaces
| Prefix | Purpose |
|---|---|
/ndn/local/nd/hello | Neighbor discovery hello Interest/Data |
/ndn/local/nd/probe/direct | SWIM direct liveness probe |
/ndn/local/nd/probe/via | SWIM indirect liveness probe |
/ndn/local/nd/peers | Demand-driven neighbor queries |
/ndn/local/sd/services | Service discovery records |
/ndn/local/sd/updates | Service discovery SVS sync group |
/ndn/local/routing/lsa | Link-state advertisements (NLSR adapter) |
/ndn/local/routing/prefix | Prefix announcements |
/ndn/local/mgmt | Management protocol |
Third-party or experimental protocols must use:
/ndn/local/x/<owner-name>/v=<version>/...
§Scope roots for service discovery
DiscoveryScope | Root prefix |
|---|---|
LinkLocal | /ndn/local |
Site | /ndn/site |
Global | /ndn/global |
Functions§
- global_
root - gossip_
prefix - hello_
prefix - is_
link_ local - Return
trueifnameis under/ndn/local/(link-local scope). - is_
nd_ packet - Return
trueifnamefalls under the neighbor-discovery sub-tree (/ndn/local/nd/). - is_
sd_ packet - Return
trueifnamefalls under the service-discovery sub-tree (/ndn/local/sd/). - mgmt_
prefix - nd_root
- ndn_
local - peers_
prefix - probe_
direct - probe_
via - routing_
lsa - routing_
prefix - scope_
root - Return the root prefix for the given
DiscoveryScope. - sd_root
- sd_
services - sd_
updates - site_
root