trireme-lib: go.aporeto.io/trireme-lib/controller/pkg/ebpf Index | Files | Directories

package ebpf

import "go.aporeto.io/trireme-lib/controller/pkg/ebpf"

Index

Package Files

ebpf_linux.go interface.go

func ISeBPFSupported Uses

func ISeBPFSupported() bool

ISeBPFSupported is called once by the master enforcer to test if the system supports eBPF.

type BPFModule Uses

type BPFModule interface {
    GetBPFPath() string
    CreateFlow(*connection.TCPTuple)
    RemoveFlow(*connection.TCPTuple)
    Cleanup()
}

BPFModule interface exposes the functionality to datapath

func LoadBPF Uses

func LoadBPF() BPFModule

LoadBPF loads the bpf object in the memory and also pins the bpf to the file system.

Directories

PathSynopsis
bpfbuild

Package ebpf imports 13 packages (graph) and is imported by 12 packages. Updated 2020-04-02. Refresh now. Tools for package owners.