helpers

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package helpers implements ebpf helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachProgs

func AttachProgs() error

AttachProgs attach ebpf progs

func GetNatFibMap

func GetNatFibMap() *ebpf.Map

GetNatFibMap returns nat fib map

func GetPodFibMap

func GetPodFibMap() *ebpf.Map

GetPodFibMap returns pod fib map

func GetTrafficControlEgressProg

func GetTrafficControlEgressProg() *ebpf.Program

GetTrafficControlEgressProg returns tc egress ebpf prog

func GetTrafficControlIngressProg

func GetTrafficControlIngressProg() *ebpf.Program

GetTrafficControlIngressProg returns tc ingress ebpf prog

func InitLoadPinnedMap

func InitLoadPinnedMap() error

InitLoadPinnedMap init, load and pinned mapsß

func LoadProgs

func LoadProgs(useCniMode, kernelTracing bool) error

LoadProgs load ebpf progs

func UnLoadProgs

func UnLoadProgs() error

UnLoadProgs unload ebpf progs

Types

This section is empty.

Jump to

Keyboard shortcuts

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