Enum capstone_sys::bpf_op_type
source · #[repr(u32)]pub enum bpf_op_type {
BPF_OP_INVALID = 0,
BPF_OP_REG = 1,
BPF_OP_IMM = 2,
BPF_OP_OFF = 3,
BPF_OP_MEM = 4,
BPF_OP_MMEM = 5,
BPF_OP_MSH = 6,
BPF_OP_EXT = 7,
}
Expand description
Operand type for instruction’s operands
Variants§
BPF_OP_INVALID = 0
BPF_OP_REG = 1
BPF_OP_IMM = 2
BPF_OP_OFF = 3
BPF_OP_MEM = 4
BPF_OP_MMEM = 5
< M[k] in cBPF
BPF_OP_MSH = 6
< corresponds to cBPF’s BPF_MSH mode
BPF_OP_EXT = 7
< cBPF’s extension (not eBPF)
Trait Implementations§
source§impl Clone for bpf_op_type
impl Clone for bpf_op_type
source§fn clone(&self) -> bpf_op_type
fn clone(&self) -> bpf_op_type
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for bpf_op_type
impl Debug for bpf_op_type
source§impl Hash for bpf_op_type
impl Hash for bpf_op_type
source§impl PartialEq for bpf_op_type
impl PartialEq for bpf_op_type
source§fn eq(&self, other: &bpf_op_type) -> bool
fn eq(&self, other: &bpf_op_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for bpf_op_type
impl Eq for bpf_op_type
impl StructuralPartialEq for bpf_op_type
Auto Trait Implementations§
impl RefUnwindSafe for bpf_op_type
impl Send for bpf_op_type
impl Sync for bpf_op_type
impl Unpin for bpf_op_type
impl UnwindSafe for bpf_op_type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more