Module converter
ebpf
Module converter
Module Items
Structs
Enums
Functions
In crate ebpf
ebpf
Module
converter
Copy item path
Source
Structs
§
Cbpf
Config
Enums
§
Cbpf
LenInstruction
Functions
§
bpf_
addressing_
mode
The addressing mode is the most significant three bits of load and store instructions. They indicate whether the instrution accesses a constant, accesses from memory, or accesses from memory atomically.
bpf_
class
The bpf_class is the instruction type.(e.g., load/store/jump/ALU).
convert_
and_
link_
cbpf
Converts, verifies and links a cBPF program for execution in the specified context.
convert_
and_
verify_
cbpf
Instantiates an EbpfProgram given a cbpf original that will work with a packet of the specified type.