Skip to content

Commit

Permalink
Add a note prohibiting IP fragmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed May 9, 2023
1 parent 1c33eaf commit 386b37e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specification/transport/udp/udp.tex
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,14 @@ \subsection{Maximum transmission unit}
allowing applications to exchange up to $508 - 24 - 4 = 480$ bytes of payload in a single-frame transfer.
Limiting the MTU at this value allows nodes that do not transmit and/or receive transfers larger than 480~bytes
to omit support for multi-frame transfer decomposition and/or reassembly.

Nodes emitting Cyphal/UDP traffic \emph{should} avoid IP fragmentation by
limiting the size of the UDP payload accordingly\footnote{
Transfers larger than the MTU limit will be transmitted as multi-frame Cyphal transfers
(section~\ref{sec:transport_transfer_payload}).
The preference towards Cyphal framing over IP framing is to remove the limitation on the maximum transfer size
imposed by the UDP protocol and to permit preemption of long transfers by higher-priority transfers.
Further, the support for reassembly of large fragmented IP packets is not universal.
Therefore, constrained implementations may implement a compliant Cyphal/UDP stack without support for IP
fragmentation.
}.

0 comments on commit 386b37e

Please sign in to comment.