packets

package
v0.0.0-...-ef54517 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketsPoller

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

func NewPacketsPoller

func NewPacketsPoller(
	perfBuffer *ebpf.Map,
	rawWriter bpf.RawWriter,
	gopacketWriter bpf.GopacketWriter,
) (*PacketsPoller, error)

func (*PacketsPoller) GetLostChunks

func (p *PacketsPoller) GetLostChunks() uint64

func (*PacketsPoller) GetReceivedPackets

func (p *PacketsPoller) GetReceivedPackets() uint64

func (*PacketsPoller) Start

func (p *PacketsPoller) Start()

func (*PacketsPoller) Stop

func (p *PacketsPoller) Stop() error

Jump to

Keyboard shortcuts

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