Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HookMapSpec = &ebpf.MapSpec{ Type: ebpf.ProgramArray, KeySize: 4, ValueSize: 4, MaxEntries: 4, }
HookMapSpec is the ABI of the underlying prog map created
Functions ¶
func CheckHookMap ¶
CheckHookMap checks the given map against HookMapABI to have appropriate values Only checks Type, KeySize, ValueSize
func TcpdumpExprToBPF ¶
tcpdumpExprToBPF converts a tcpdump / libpcap filter expression to cBPF using libpcap
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.