Documentation ¶
Overview ¶
package packetforward contains the Retina packetforward plugin. It utilizes eBPF to measures packets and bytes passing through the eth0 interface of each node, along with the direction of the packets.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
Constants ¶
View Source
const ( PacketForwardSocketAttach int = 50 Name api.PluginName = "packetforward" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IMap ¶
Interface to https://pkg.go.dev/github.com/cilium/ebpf#Map. Added for unit tests.
type PacketForwardData ¶
type PacketForwardData struct {
// contains filtered or unexported fields
}
func (PacketForwardData) String ¶
func (p PacketForwardData) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.