xarxa

Crates

git

Versions

default

Flavors

Skip to main content

ASSEMBLER_MAX_SEGMENT_COUNT

Constant ASSEMBLER_MAX_SEGMENT_COUNT 

Source
pub const ASSEMBLER_MAX_SEGMENT_COUNT: usize = raw::ASSEMBLER_MAX_SEGMENT_COUNT; // 4usize
Expand description

Max contiguous data ranges tracked at once while reassembling.

This bounds how scattered the data a TCP socket has received out of order may be, and how many holes an IP or 6LoWPAN datagram being reassembled may have. Data that would need one more range is dropped and has to be retransmitted.

This is a limit with and without alloc. Default: 4.