asm

package
v0.0.0-...-81110d3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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