BPF.Program (BPF v0.1.1)
View SourceA compiled BPF program.
Contains a list of instructions and optional metadata.
Summary
Functions
Encode the program to raw BPF bytecode.
Returns the number of instructions in the program.
Create a new BPF program from a list of instructions.
Types
@type t() :: %BPF.Program{ bindings: %{required(atom()) => non_neg_integer()}, instructions: [BPF.Instruction.t()] }