Expand description
PhantomUDP — native datagram transport over raw UDP (Phase 1).
See docs/plans/phantomudp-phase1-design.md.
Modules§
- datagram
- Map a logical frame to one or more UDP datagrams (and back), fragmenting frames larger
than the path MTU. Reuses
FragmentAssembler(with its anti-DoS bounds) by zero-padding the 8-bytecidto the assembler’s[u8;16]key. - envelope
- PhantomUDP outer datagram envelope — transport framing (NOT the frozen inner wire).
Every UDP datagram begins with
[flags: u8][cid: [u8;8]]. LikeTcpSessionTransport’s 4-byte length prefix, this is outsidecore/tests/wire_vectorsand does not bumpWIRE_VERSION/PROTOCOL_VERSION.