config.h fixes mtu_payload at 1200 bytes (the conservative internet-safe budget). On closed meshes with jumbo frames this leaves throughput on the table; on weird VPNs it can still be too big.
First slice (good first issue): make the budget properly configurable end to end and validated against the header carve-out documented in docs/DESIGN-codec.md. Follow-up slice: simple path MTU probing.
Tests: SimNet transfer at a non-default payload size, plus a codec round-trip at the boundary.
config.h fixes mtu_payload at 1200 bytes (the conservative internet-safe budget). On closed meshes with jumbo frames this leaves throughput on the table; on weird VPNs it can still be too big.
First slice (good first issue): make the budget properly configurable end to end and validated against the header carve-out documented in docs/DESIGN-codec.md. Follow-up slice: simple path MTU probing.
Tests: SimNet transfer at a non-default payload size, plus a codec round-trip at the boundary.