Versions in this module Expand all Collapse all v1 v1.5.0 Jan 23, 2020 v1.4.0 Oct 20, 2017 Changes in this version + type DecodedPacket struct + FlowHash uint64 + Info gopacket.CaptureInfo + NetFlow gopacket.Flow + Payload gopacket.Payload + TCP layers.TCP + func (dp *DecodedPacket) IsTCP() bool + type Handler func(db []*DecodedPacket) + type Pool struct + func NewPool(logger log.Logger, src capture.PacketSource, handler Handler) *Pool + func (p *Pool) Run() + func (p *Pool) Stats() Stats + type Stats struct + PacketsCaptured int + PacketsDropped int