Documentation ¶
Index ¶
- Constants
- func AttachTC(BpfObjs *BpfObjects, link netlink.Link) error
- func AttachXDP(BpfObjs *BpfObjects, Ifindex int) (*xdp.Program, error)
- func RemoveTC(ifName string, tcDir uint32) error
- func TcPushtoMap(BpfObjs *BpfObjects, key uint16, targets []common.Node) error
- type BpfObjects
- type TargetInfoInterface
Constants ¶
View Source
const (
MAX_TARGETS = 64
)
Variables ¶
This section is empty.
Functions ¶
func TcPushtoMap ¶
func TcPushtoMap(BpfObjs *BpfObjects, key uint16, targets []common.Node) error
Types ¶
type BpfObjects ¶
type BpfObjects struct {
// contains filtered or unexported fields
}
func LoadObjects ¶
func LoadObjects() (*BpfObjects, error)
type TargetInfoInterface ¶
Click to show internal directories.
Click to hide internal directories.