Crate rbpf [−] [src]
Virtual machine and JIT compiler for eBPF programs.
Modules
ebpf |
This module contains all the definitions related to eBPF. |
helpers |
This module implements some built-in helpers that can be called from within an eBPF program. |
Structs
EbpfVmFixedMbuff |
A virtual machine to run eBPF program. This kind of VM is used for programs expecting to work on a metadata buffer containing pointers to packet data, but it internally handles the buffer so as to save the effort to manually handle the metadata buffer for the user. |
EbpfVmMbuff |
A virtual machine to run eBPF program. This kind of VM is used for programs expecting to work on a metadata buffer containing pointers to packet data. |
EbpfVmNoData |
A virtual machine to run eBPF program. This kind of VM is used for programs that do not work with any memory area—no metadata buffer, no packet data either. |
EbpfVmRaw |
A virtual machine to run eBPF program. This kind of VM is used for programs expecting to work directly on the memory area representing packet data. |