ebpf

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotAvailable = errors.New("ebpf: not available on this platform")

Functions

This section is empty.

Types

type BpfCount

type BpfCount struct{}

func NewBPFCount

func NewBPFCount(*net.Interface) (*BpfCount, error)

func (*BpfCount) Attach

func (*BpfCount) Attach(net.Conn, uuid.UUID, string) (net.Conn, error)

func (*BpfCount) Close

func (*BpfCount) Close() error

func (*BpfCount) DeleteExecLimit

func (*BpfCount) DeleteExecLimit(uuid.UUID) error

func (*BpfCount) DeleteLimit

func (*BpfCount) DeleteLimit(netutil.IPv6, uuid.UUID) error

func (*BpfCount) Detach

func (*BpfCount) Detach(string, uuid.UUID, netutil.IPv6) error

func (*BpfCount) SetExecLimit

func (*BpfCount) SetExecLimit(uuid.UUID, app.Bitrate) error

func (*BpfCount) SetLimit

func (*BpfCount) SetLimit(string, uuid.UUID, app.Bitrate) error

func (*BpfCount) Type

func (*BpfCount) Type() string

Jump to

Keyboard shortcuts

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