packet

package
v0.0.0-...-c76eaf4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketFilter

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

func NewPacketFilter

func NewPacketFilter(procfs string, bpfObjs bpf.TracerObjects, cgroupsController cgroup.CgroupsController, enabled, isCgroupV2 bool) (*PacketFilter, error)

func (*PacketFilter) Close

func (pf *PacketFilter) Close() error

type TcClient

type TcClient interface {
	SetupTC(link netlink.Link, progFDIngress, progFDEgress *ebpf.Program) error
	CleanTC() error
}

type TcClientImpl

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

func (*TcClientImpl) CleanTC

func (t *TcClientImpl) CleanTC() error

func (*TcClientImpl) SetupTC

func (t *TcClientImpl) SetupTC(link netlink.Link, progFDIngress, progFDEgress *ebpf.Program) error

Jump to

Keyboard shortcuts

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