Skip to main content

Module connectivity

Module connectivity 

Source
Expand description

Socket-independent Internet connection manager contract.

Policy, generations, candidates and durable delivery live here. Native sockets, ICE/TURN/WSS adapters live in p2p/connectivity.

Re-exports§

pub use browser::BrowserBearer;
pub use browser::BrowserProfile;
pub use browser::IceTransportPolicy;
pub use candidates::gather_permitted;
pub use candidates::pair_priority;
pub use candidates::AddrFamily;
pub use candidates::Candidate;
pub use candidates::CandidateKind;
pub use candidates::CandidateTables;
pub use candidates::MAX_ACTIVE_PATHS;
pub use candidates::MAX_ATTEMPTS;
pub use candidates::MAX_PAIRS;
pub use durable::Delivery;
pub use durable::DurableQueue;
pub use evidence::address_dependent_is_not_universal_relay_law;
pub use evidence::browser_turn_interop_executed;
pub use evidence::capability_fabric_local_executed;
pub use evidence::connection_manager_implemented;
pub use evidence::durable_storage_recovery_verified;
pub use evidence::envelope_length_is_u16;
pub use evidence::ice_requires_connectivity_check;
pub use evidence::internet_two_host_handshake_executed;
pub use evidence::local_tls_wss_verified;
pub use evidence::masque_bound_udp_internet_executed;
pub use evidence::noq_transport_admitted;
pub use evidence::public_relay_dialed;
pub use evidence::session_ready_requires_qsession;
pub use invitation::phrase_must_not_mint_wg_keys;
pub use invitation::sign_invitation;
pub use invitation::verify_invitation;
pub use invitation::Invitation;
pub use path::consent_fresh;
pub use path::may_activate_send_path;
pub use path::relay_ip_is_not_direct_candidate;
pub use path::resolve_role_conflict;
pub use path::ObservedSource;
pub use path::CONSENT_INTERVAL_MS;
pub use path::CONSENT_TIMEOUT_MS;
pub use planner::ordinary_first_actions;
pub use planner::tick;
pub use planner::Schedule;
pub use planner::Scheduled;
pub use policy::Disclosure;
pub use policy::PathPolicy;
pub use rendezvous::common_relay;
pub use rendezvous::RendezvousStore;
pub use state::ConnError;
pub use state::ConnSlot;
pub use state::ConnState;

Modules§

browser
Browser interoperability contract. Native boringtun is not a browser API.
candidates
Bounded candidate and pair tables. No unbounded Cartesian product.
durable
Disconnection is a delivery mode. A relay write is never Delivered.
durable_store
Storage-backed durable jobs. Recovery is from a file, not process RAM.
evidence
Honest qualification flags. Source names are not evidence.
invitation
Private, expiring connection invitations. Length-delimited fields. No phrase-derived WG keys.
matrix
Failure-test matrix as a deterministic planner oracle. Not Internet evidence.
mtu
Path payload budget including WireGuard and inner IPv6/UDP.
path
Generation-safe send-path activation.
planner
Scheduler: race permitted paths. Relay is eligible immediately.
policy
Disclosure and path-selection policy. Applied before any probe.
rendezvous
Expiring opaque rendezvous records. No public DHT. Common relay selection.
state
One connection-attempt state owner. Late completions cannot activate a reused slot.