Documentation ¶
Overview ¶
A wrapper for google/gopacket pcap compilation for use with xt_bpf
A library for marshaling xt_bpf structs for use with nftables
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileBpfForXtInfo ¶
func CompileBpfForXtInfo(filter string) ([]bpf.RawInstruction, error)
Compile a tcpdump-style filter string to bpf compatible with xtables
func MarshalBpfBytecode ¶
Marshal a tcpdump-style filter string into bytes compatible with xtables
func MarshalBpfFd ¶
Marshal a socket file descriptor into bytes compatible with xtables
func MarshalBpfPinned ¶
Marshal a pinned program path into bytes compatible with xtables
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.