mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 08:14:42 +00:00
Add link_mtu(&TransportAddr) method to the Transport trait with a default implementation that falls back to the transport-wide mtu(). This enables transports like BLE to report per-connection MTU values while maintaining backward compatibility for UDP and other transports that use a single MTU for all links. Update the forwarding and session send paths to query link_mtu() with the next-hop peer's current address, falling back to transport-wide mtu() when no address is available.