bpf

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bpf

type Bpf struct {
	segments.BaseSegment

	Device          string // required, the name of the device to capture, e.g. "eth0"
	ActiveTimeout   string // optional, default is 30m
	InactiveTimeout string // optional, default is 15s
	BufferSize      int    // optional, default is 65536 (64kB)
	// contains filtered or unexported fields
}

FIXME: the bpf_flowexport projects needs to adopt the new flowmsg too

func (Bpf) New

func (segment Bpf) New(config map[string]string) segments.Segment

func (*Bpf) Run

func (segment *Bpf) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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