Documentation
¶
Overview ¶
Package host implements types and methods specific to interacting with eBPF maps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileID ¶
type FileID uint64
FileID is used for unique identifiers for files, and is required to be 64-bits due to the constraints imposed by the eBPF maps, unlike the larger FileID used outside the host agent.
func CalculateID ¶
CalculateID calculates a 64-bit executable ID of the contents of a file.
func CalculateKernelFileID ¶
CalculateKernelFileID calculates an ID for a kernel image or module given its libpf.FileID.
func FileIDFromBytes ¶
FileIDFromBytes parses a byte slice into the internal data representation for a file ID.
func (FileID) StringNoQuotes ¶
Click to show internal directories.
Click to hide internal directories.