Documentation ¶
Index ¶
- Constants
- func CalcMapPinPath(programInfo *gobpfman.ProgramInfo, map_name string) (string, error)
- func CreateConnection(ctx context.Context) (*grpc.ClientConn, error)
- func RetrieveMapPinPath(ctx context.Context, c gobpfman.BpfmanClient, progId uint, map_name string) (string, error)
- type ParameterData
- type ProgType
Constants ¶
View Source
const ( SrcNone = iota SrcProgId SrcImage SrcFile )
View Source
const ( TcDirectionIngress = iota TcDirectionEgress )
View Source
const (
DefaultPath = "/run/bpfman-sock/bpfman.sock"
)
View Source
const (
UnusedProgramId = 0
)
Variables ¶
This section is empty.
Functions ¶
func CalcMapPinPath ¶
func CalcMapPinPath(programInfo *gobpfman.ProgramInfo, map_name string) (string, error)
func CreateConnection ¶
func CreateConnection(ctx context.Context) (*grpc.ClientConn, error)
func RetrieveMapPinPath ¶
Types ¶
type ParameterData ¶
type ParameterData struct { Iface string Priority int Direction int CrdFlag bool ProgId uint MapOwnerId int // The bytecodesource type has to be encapsulated in a complete BytecodeLocation // because isBytecodeLocation_Location is not Public BytecodeSource *gobpfman.BytecodeLocation BytecodeSrc int }
func ParseParamData ¶
func ParseParamData(progType ProgType, bytecodeFile string) (ParameterData, error)
Click to show internal directories.
Click to hide internal directories.