Documentation
¶
Index ¶
- Constants
- Variables
- type BpfModule
- func (bpf *BpfModule) AttachKprobe(event string, fd int) error
- func (bpf *BpfModule) AttachKretprobe(event string, fd int) error
- func (bpf *BpfModule) Close()
- func (bpf *BpfModule) InitRxHandler() (int, error)
- func (bpf *BpfModule) Load(name string, progType int) (int, error)
- func (bpf *BpfModule) LoadKprobe(name string) (int, error)
- func (bpf *BpfModule) LoadNet(name string) (int, error)
- func (bpf *BpfModule) TableDesc(id uint64) map[string]interface{}
- func (bpf *BpfModule) TableId(name string) C.size_t
- func (bpf *BpfModule) TableIter() <-chan map[string]interface{}
- func (bpf *BpfModule) TableSize() uint64
- type BpfTable
- func (table *BpfTable) Config() map[string]interface{}
- func (table *BpfTable) Delete(keyStr string) error
- func (table *BpfTable) Get(keyStr string) (interface{}, bool)
- func (table *BpfTable) ID() string
- func (table *BpfTable) Iter() <-chan api.ModuleTableEntry
- func (table *BpfTable) Name() string
- func (table *BpfTable) Set(keyStr, leafStr string) error
Constants ¶
View Source
const ( MAX_MODULES uint = 1024 MAX_INTERFACES uint = 128 )
Variables ¶
View Source
var IomoduleH string = `` /* 1514-byte string literal not displayed */
View Source
var NetdevEgressC string = `` /* 369-byte string literal not displayed */
View Source
var NetdevRxC string = `` /* 372-byte string literal not displayed */
View Source
var NetdevTxC string = `` /* 132-byte string literal not displayed */
View Source
var PatchC string = `` /* 2982-byte string literal not displayed */
View Source
var WrapperC string = `` /* 1744-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type BpfModule ¶
type BpfModule struct {
// contains filtered or unexported fields
}
BpfModule type
func NewBpfModule ¶
func (*BpfModule) AttachKretprobe ¶
func (*BpfModule) InitRxHandler ¶
Click to show internal directories.
Click to hide internal directories.