Module forward_id

Module forward_id 

Source
Expand description

Routing identity of a packet as seen by a forwarder.

This is the identity that duplicate suppression and forwarding confirmation both key on, and it is intentionally not the destination’s logical delivery identity:

  • delivery identity is governed by replay windows / frame counters at the destination
  • routing identity must remain stable across repeater rewrites of dynamic routing metadata
  • forwarding-confirmation identity matches routing identity so a node can recognize “the same packet, forwarded onward”

It lives outside the coordinator because it is an interop surface, not private state: any forwarder that participates in the same mesh — including an internet bridge, whose two radios must agree on which frames are the same packet — has to compute it bit-for-bit identically.

Functions§

forwarding_dup_key
Routing identity of a frame, parsing its header first.
forwarding_dup_key_parsed
Routing identity of an already-parsed frame.