Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
Pool manages a set of workers each responsible for a set of TCP conversations (stream pairs).
func New ¶
func New(logger log.Logger, analysis *analysis.Pool, protocol model.ProtocolType, ports []int, numWorkers int) *Pool
New creates a new pool for reassembling TCP streams.
func (*Pool) HandlePackets ¶
func (p *Pool) HandlePackets(dps []*decode.DecodedPacket) (err error)
HandlePackets partitions packets by connection and dispatches them to assembly workers.
Click to show internal directories.
Click to hide internal directories.