internal

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapCreate

func MapCreate(attr *MapCreateAttr) (uintptr, error)

Types

type Cmd

type Cmd uint32
const (
	BPF_MAP_CREATE Cmd = 0
)

type MapCreateAttr

type MapCreateAttr struct {
	MapType               MapType
	KeySize               uint32
	ValueSize             uint32
	MaxEntries            uint32
	MapFlags              MapFlags
	InnerMapFd            uint32
	NumaNode              uint32
	MapName               ObjName
	MapIfindex            uint32
	BtfFd                 uint32
	BtfKeyTypeId          TypeID
	BtfValueTypeId        TypeID
	BtfVmlinuxValueTypeId TypeID
	MapExtra              uint64
}

type MapFlags

type MapFlags uint32

type MapType

type MapType uint32

type ObjName

type ObjName [unix.BPF_OBJ_NAME_LEN]byte

type TypeID

type TypeID uint32

Jump to

Keyboard shortcuts

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