builder

package
v0.0.0-...-d9a865f Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func New

func New(pcapDir, indexDir, snapshotDir string, cachedKnownPcaps []*pcapmetadata.PcapInfo) (*Builder, error)

func (*Builder) FromPcap

func (b *Builder) FromPcap(pcapDir string, pcapFilenames []string, existingIndexes []*index.Reader) (int, []*index.Reader, error)

func (*Builder) KnownPcaps

func (b *Builder) KnownPcaps() []*pcapmetadata.PcapInfo

type Packet

type Packet struct {
	// contains filtered or unexported fields
}

func (*Packet) CaptureInfo

func (p *Packet) CaptureInfo() *gopacket.CaptureInfo

func (*Packet) Parsed

func (p *Packet) Parsed() gopacket.Packet

func (*Packet) Timestamp

func (p *Packet) Timestamp() time.Time

Jump to

Keyboard shortcuts

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