Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBPFFilterString ¶ added in v0.9.1
NewBPFFilterString return string for BPF
Types ¶
type PacketReader ¶
type PacketReader struct {
// contains filtered or unexported fields
}
PacketReader struct
func NewPacketReader ¶
func NewPacketReader( ctx context.Context, cancel context.CancelFunc, packetSource *gopacket.PacketSource, dumper dumper.Dumper, pValues []dumper.DumpValue, logger *zap.Logger, internalBufferLength int, proxyProtocol bool, enableInternal bool, ) PacketReader
NewPacketReader return PacketReader
func (*PacketReader) ReadAndDump ¶
func (r *PacketReader) ReadAndDump(target Target) error
ReadAndDump from gopacket.PacketSource
type TargetHost ¶ added in v0.16.0
TargetHost struct
Click to show internal directories.
Click to hide internal directories.