Skip to main content

Module gateway

Module gateway 

Source
Expand description

Compartment gateways and removable-media transfer (E16.5).

This module is a transfer gate, not a router: it does not call plan_routes and does not import crate::net::qdnf::route.

Labels are VerifiedLabel handles. Join/release failures map to QdnfError::Denied. Removable media is GatewayMedia::Removable and is admitted only for profiles that list ControlPredicate::IsolatedBearer (P4). Counting boolean flags is not an approval instrument.

Remote wipe and attestation cannot guarantee safety after endpoint compromise or seizure (E16.7).

Enums§

GatewayMedia
Transfer media. Removable media is IsolatedBearer (P4) only.

Functions§

gateway_transfer
Verify labels and releasability at every transfer.
gateway_transfer_negotiated
Transfer using a profile that must not sit below the negotiated floor.
refuse_negotiated_downgrade
Negotiated floor cannot be lowered at a gateway.