phantom_protocol/transport/phantom_udp/mod.rs
1//! PhantomUDP datagram framing — the outer UDP envelope + fragmentation for the
2//! native reliable-UDP transport (the production transport; Phase 1 introduced it,
3//! Phase 4 added seamless single-path connection migration).
4//!
5//! This module is just the framing layer: [`envelope`] is the unauthenticated
6//! `[flags][cid]` outer header, and [`datagram`] maps one logical frame to one or
7//! more MTU-bounded UDP datagrams (fragmenting + reassembling oversized frames).
8//! The `SessionTransport` impls and the CID-window demux listener that build on it
9//! live in `api/udp_transport.rs` / `api/udp_listener.rs`, NOT here.
10//!
11//! See `docs/plans/phantomudp-phase1-design.md` (framing) and
12//! `docs/plans/phantomudp-phase4-design.md` (migration / liveness).
13pub mod datagram;
14pub mod envelope;