Documentation ¶
Overview ¶
Package rawpacket holds rawpacket related files
Package rawpacket holds raw_packet related files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BPFFilterToInsts ¶
BPFFilterToInsts compile a bpf filter expression
func FiltersToProgramSpecs ¶
FiltersToProgramSpecs returns list of program spec from raw packet filters definitions
Types ¶
type ProgOpts ¶
type ProgOpts struct { // MaxTailCalls maximun number of tail calls generated MaxTailCalls int // number of instructions MaxProgSize int // Number of nop instruction inserted in each program NopInstLen int }
ProgOpts defines options
var DefaultProgOpts ProgOpts
DefaultProgOpts default options
Click to show internal directories.
Click to hide internal directories.