bpfloader

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BPF_MAP_CREATE       = iota // nolint: golint
	BPF_MAP_LOOKUP_ELEM         // nolint: golint
	BPF_MAP_UPDATE_ELEM         // nolint: golint
	BPF_MAP_DELETE_ELEM         // nolint: golint
	BPF_MAP_GET_NEXT_KEY        // nolint: golint
	BPF_PROG_LOAD               // nolint: golint
	BPF_OBJ_PIN                 // nolint: golint
	BPF_OBJ_GET                 // nolint: golint
)

Variables

This section is empty.

Functions

func GetProgram

func GetProgram(reader io.ReaderAt, name string) (int, error)

GetProgram gets an open FD for a given BPF program, given an io.Reader of a tc-compatible elf file, and the section name

Types

This section is empty.

Jump to

Keyboard shortcuts

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