class

Filament::Capture::BpfProgram

Inherits Reference < Object

Compiled program represented as an immutable array of instructions

Constructors

accept_all(snap_len : UInt32 = 65535_u32) : BpfProgram

Creates an accept-all filter program (returns snaplen)

Source
new(instructions : Array(BpfInstruction))
Source
reject_all

Creates a reject-all filter program

Source

Instance methods

instructions
Source
size
Source