internal

package
v0.0.0-...-edfe208 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHookMap

func CheckHookMap(m *ebpf.Map) error

CheckHookMap checks the given map against HookMapABI to have appropriate values Only checks Type, KeySize, ValueSize

func TcpdumpExprToBPF

func TcpdumpExprToBPF(filterExpr string, linkType layers.LinkType) ([]bpf.Instruction, error)

tcpdumpExprToBPF converts a tcpdump / libpcap filter expression to cBPF using libpcap

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL