Documentation
¶
Index ¶
- func GetProtocol(p uint8) string
- func IntToIP(ipNum uint32) net.IP
- func IsRoot() bool
- func LookupAndTrim(ip net.IP) ([]string, error)
- func OneOf(s string, values []string) bool
- func OneOfContains(search string, set []string) bool
- func OneOfInt32(s int32, values []int32) bool
- func ParseProgramName(e *ebpf.Program) string
- func TrimNullBytes(p [16]uint8) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProtocol ¶
returns the given protock name TODO: find better alternative
func LookupAndTrim ¶
lookup IP address and trim suffix (".") in the doamin name
func OneOfContains ¶
OneOfContains returns true if any items of the given string list contains the given value
func OneOfInt32 ¶
OneOfInt32 returns true if the given string is one of the given values
func ParseProgramName ¶
parse eBPF program name from *ebpf.Program struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.