assembly

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	Logger log.Logger
	// contains filtered or unexported fields
}

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL