Skip to main content

Module frag

Module frag 

Source
Expand description

Large data (DDSI-RTPS 2.5, 8.4.14.1): splitting a change into DATA_FRAG submessages, and putting the fragments back together.

A writer sends a change as DATA_FRAG only when its DATA would not fit in a datagram (Fragmentation::needed). All its fragments have the same size, Fragmentation::fragment_size, whichever reader they go to, and as many as fit go in one submessage. The in-line QoS goes with the submessage that holds fragment 1 (8.3.8.3).

A reader collects fragments in a Reassembler, one for each writer, and gets the change once every fragment is in. It holds at most ReassemblyLimits::max_samples incomplete samples of at most ReassemblyLimits::max_sample_size octets each.

Structs§

Fragmentation
How a writer fragments large changes (8.4.14.1).
Reassembler
The incomplete samples of one writer.
ReassemblyLimits
Limits on what a reader holds while putting samples together, for each writer.

Enums§

Keep
Which incomplete samples a Reassembler keeps when it has too many.

Constants§

MAX_UDP_PAYLOAD
The largest UDP payload over IPv4: 65535 octets less the IP and UDP headers.