Filament::Dissect::Layer3::IPv4FragmentReassembler
Inherits Reference < Object
Manages fragmented IPv4 datagram groups across the capture stream
Constructors
new(timeout_seconds : Float64 = 30.0, max_groups : Int32 = 10000)
SourceInstance methods
max_groups
Sourceprocess(src_ip : String, dst_ip : String, id : UInt16, proto : UInt8, frag_offset : UInt16, mf : Bool, payload : Bytes, timestamp : Time) : Bytes | Nil
Processes an IPv4 packet layer. If the packet is fragmented:
- Stores fragment in reassembly group
- If complete, returns the fully reassembled payload Bytes
- If still incomplete, returns nil If the packet is not fragmented, returns payload directly.
timeout_seconds
Source