parser

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	Parse() (*event.Packet, error)
}

type PcapNGParser

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

func NewPcapNGParser

func NewPcapNGParser(reader io.Reader, pcache *metadata.ProcessCache) (*PcapNGParser, error)

func (*PcapNGParser) Parse

func (p *PcapNGParser) Parse() (*event.Packet, error)

type PcapParser added in v0.5.0

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

func NewPcapParser added in v0.5.0

func NewPcapParser(file *os.File) (*PcapParser, error)

func (*PcapParser) Decoder added in v0.5.0

func (p *PcapParser) Decoder() gopacket.Decoder

func (*PcapParser) Parse added in v0.5.0

func (p *PcapParser) Parse() (*event.Packet, error)

Jump to

Keyboard shortcuts

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