Documentation ¶
Index ¶
- type BPFMap
- type BPFObject
- type BPFProgram
- func (p *BPFProgram) AttachTCegress(deviceName string, enableQdisc bool) error
- func (p *BPFProgram) AttachTCingress(deviceName string, enableQdisc bool) error
- func (p *BPFProgram) AttachTCingressAndegress(deviceName string, enableQdisc bool) error
- func (p *BPFProgram) AttachXDP(deviceName string) error
- func (p *BPFProgram) AttachXDPSKB(deviceName string) error
- type XDPAttachFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BPFObject ¶ added in v0.0.11
type BPFObject struct {
// contains filtered or unexported fields
}
func NewBPFObject ¶ added in v0.0.11
func (*BPFObject) BPFLoadObject ¶ added in v0.0.11
func (*BPFObject) GetProgramByName ¶ added in v0.0.12
func (m *BPFObject) GetProgramByName(progName string) (*BPFProgram, error)
type BPFProgram ¶ added in v0.0.12
type BPFProgram struct {
// contains filtered or unexported fields
}
func (*BPFProgram) AttachTCegress ¶ added in v0.0.20
func (p *BPFProgram) AttachTCegress(deviceName string, enableQdisc bool) error
func (*BPFProgram) AttachTCingress ¶ added in v0.0.19
func (p *BPFProgram) AttachTCingress(deviceName string, enableQdisc bool) error
func (*BPFProgram) AttachTCingressAndegress ¶ added in v0.0.20
func (p *BPFProgram) AttachTCingressAndegress(deviceName string, enableQdisc bool) error
func (*BPFProgram) AttachXDP ¶ added in v0.0.12
func (p *BPFProgram) AttachXDP(deviceName string) error
func (*BPFProgram) AttachXDPSKB ¶ added in v0.0.17
func (p *BPFProgram) AttachXDPSKB(deviceName string) error
type XDPAttachFlags ¶ added in v0.0.17
type XDPAttachFlags uint32
const ( XDPGenericMode XDPAttachFlags = 1 << (iota + 1) XDPDriverMode XDPOffloadMode )
Click to show internal directories.
Click to hide internal directories.