Documentation ¶
Index ¶
Constants ¶
View Source
const BPF_MOD = 0x90
BPF_MOD is BPF_MOD - it is supported in Linux from v3.7+, but not in go's syscall...
View Source
const BPF_XOR = 0xa0
BPF_XOR is BPF_XOR - it is supported in Linux from v3.7+, but not in go's syscall...
Variables ¶
This section is empty.
Functions ¶
func Dump ¶
func Dump(ss []unix.SockFilter) string
Dump takes a series of sock filters and returns an assembler string that represents the program
func Parse ¶
func Parse(s string) []unix.SockFilter
Parse takes a string that contains a sock filter assembly program and returns the parsed representation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.