Skip to main content

Module paths

Module paths 

Source
Expand description

Bounded dial races for QSession (NET-05.10 / RT-03.03 partial).

At most MAX_ACTIVE_PATHS paths may be PathState::Active. Up to MAX_RACE_CANDIDATES Racing+Active slots may be occupied; a fourth Active is QdnfError::Capacity. Losing and late Racing attempts close and free the slot. Application crate::net::qdnf::types::OperationId is not a path id (NET-05.05 partial). Compat-carrier duplicate recovery stays off (NET-05.11).

Structs§

PathHandle
Generation-bearing path mutation handle. Not a budget or permit token.
PathSlot
PathTable
Eight-slot table. Occupied entries are Racing, Active, or Losing.

Enums§

PathState

Constants§

MAX_ACTIVE_PATHS
Negotiated multipath ceiling (QSession max paths = 3).
MAX_RACE_CANDIDATES
Collected race candidates; only MAX_ACTIVE_PATHS may become Active.

Functions§

mutate_path
Mutate handle’s slot. Stale generation → QdnfError::StaleGeneration. Promoting to PathState::Active requires attested reachability.
path_handle_is_budget_token
PathHandle::path_handle_is_budget_token.