Expand description
GBP-layer group node.
Responsibilities of this layer (analogous to IP):
- Decode incoming CBOR frames and validate
version,group_id,epochandtransition_idper the GBP spec. - Enforce a per-
(stream_type, stream_id)replay window viasequence_no. - Open the AEAD payload through the
Sealertrait (typically backed bygbp-mls). - Surface decoded payloads to sub-protocols as
Event::PayloadReceived; the sub-protocol layer is responsible for message-level semantics. - Drive the control plane: handle
EXECUTE_TRANSITION, request resync onEPOCH_MISMATCH, etc.
Out of scope: parsing GTP / GAP / GSP payloads, GTP idempotency, GAP
key_phase validation and mute-list tracking. Those concerns belong to
the per-sub-protocol clients in the gtp-protocol, gap-protocol and
gsp-protocol crates.
Structs§
- Delivered
Payload - Information about a payload delivered by GBP to a sub-protocol.
- Group
Node - GBP-layer node.
- Outbound
Frame - A wire-ready outbound frame: the recipient and its serialised CBOR bytes.
Enums§
Traits§
- Sealer
- Trait abstracting the AEAD seal / open operations.