libpktlab - The PacketLab Utility Library
|
Structure for encoding/decoding pktlab eBPF programs in cdata & ncap msg. Represents one eBPF instruction. More...
#include <pktlab.h>
Public Attributes | |
uint8_t | opcode |
uint8_t | dstreg:4 |
uint8_t | srcreg:4 |
uint16_t | offset |
uint32_t | imm |
Structure for encoding/decoding pktlab eBPF programs in cdata & ncap msg. Represents one eBPF instruction.
uint8_t pktlab_ebpf_instr::dstreg |
eBPF instr destination register
uint32_t pktlab_ebpf_instr::imm |
eBPF instr immediate constant
uint16_t pktlab_ebpf_instr::offset |
eBPF instr offset
uint8_t pktlab_ebpf_instr::opcode |
eBPF instr opcode
uint8_t pktlab_ebpf_instr::srcreg |
eBPF instr source register