class

Filament::Dissect::Layer4::TcpStreamReassembler

Inherits Reference < Object

Assembles ordered byte streams from out-of-order TCP segments

Constructors

new(max_buffer_bytes : Int32 = 4000000)
Source

Instance methods

buffered_bytes
Source
max_buffer_bytes
Source
next_seq
Source
push(seq : UInt32, payload : Bytes, syn : Bool = false) : Bytes

Feeds an incoming segment into the reassembler. Returns newly available in-order contiguous Bytes (or empty slice if no bytes ready).

Source
reset

Discards all buffered segments

Source
segments
Source