general

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfInfo

type BpfInfo struct {
	MapPath     string
	BpfFsPath   string
	Cgroup2Path string

	Type       ebpf.ProgramType
	AttachType ebpf.AttachType
}

type BpfTCGeneral

type BpfTCGeneral struct {
	InfoTcMarkEncrypt BpfInfo
	InfoTcMarkDecrypt BpfInfo
	bpf2go_general.KmeshTcMarkEncryptObjects
	bpf2go_general.KmeshTcMarkDecryptObjects
}

func NewBpf

func NewBpf(cfg *options.BpfConfig) (*BpfTCGeneral, error)

func (*BpfTCGeneral) Close

func (tc *BpfTCGeneral) Close() error

func (*BpfTCGeneral) LoadTC

func (tc *BpfTCGeneral) LoadTC() error

Jump to

Keyboard shortcuts

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