aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bpf-desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/bpf-desc.h')
-rw-r--r--opcodes/bpf-desc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/bpf-desc.h b/opcodes/bpf-desc.h
index 28b0852..38cf8c8 100644
--- a/opcodes/bpf-desc.h
+++ b/opcodes/bpf-desc.h
@@ -80,8 +80,8 @@ typedef enum insn_op_src {
/* Enum declaration for eBPF instruction class. */
typedef enum insn_op_class {
- OP_CLASS_LD = 0, OP_CLASS_LDX = 1, OP_CLASS_ST = 2, OP_CLASS_STX = 3
- , OP_CLASS_ALU = 4, OP_CLASS_JMP = 5, OP_CLASS_ALU64 = 7
+ OP_CLASS_LD, OP_CLASS_LDX, OP_CLASS_ST, OP_CLASS_STX
+ , OP_CLASS_ALU, OP_CLASS_JMP, OP_CLASS_JMP32, OP_CLASS_ALU64
} INSN_OP_CLASS;
/* Enum declaration for eBPF load/store instruction modes. */