Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ISeBPFSupported

func ISeBPFSupported() bool

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

    Types

    type BPFModule

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

      BPFModule interface exposes the functionality to datapath

      func LoadBPF

      func LoadBPF() BPFModule

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

        Directories

        Path Synopsis