Module stream

Source

Structs§

SegmentInfo
information on each segment received
Stream
unidirectional stream of a connection

Enums§

SegmentType
type-specific information for each segment
SeqOffset
represents offset from packet sequence number to absolute offset

Constants§

MAX_ALLOWED_BUFFER_SIZE
max allowed size of stream buffer
MAX_SEGMENTS_INFO_COUNT
max size of segments_info in eleemnts
RESET_MAX_LOOKAHEAD
how far forward to allow reset packets
RESET_MAX_LOOKBEHIND
how far back to allow reset packets
SEQ_WINDOW_ADVANCE_BY
how much to advance the sequence number window by
SEQ_WINDOW_ADVANCE_THRESHOLD
threshold for advancing the sequence number window
SEQ_WINDOW_SIZE
size of the sequence number sliding window

Functions§

in_range_wrapping
determine if (base - before) <= value <= (base + after) in GF(2^32)