#[repr(u8)]pub enum JmpOp {
Show 14 variants
JA = 0,
JEQ = 16,
JGT = 32,
JGE = 48,
JSET = 64,
JNE = 80,
JSGT = 96,
JSGE = 112,
CALL = 128,
EXIT = 144,
JLT = 160,
JLE = 176,
JSLT = 192,
JSLE = 208,
}
Expand description
Variants§
JA = 0
Only allowed with the BPF_JMP instruction class
JEQ = 16
JGT = 32
JGE = 48
JSET = 64
JNE = 80
JSGT = 96
JSGE = 112
CALL = 128
EXIT = 144
JLT = 160
Part of ISA v2
JLE = 176
Part of ISA v2
JSLT = 192
Part of ISA v2
JSLE = 208
Part of ISA v2
Trait Implementations§
Source§impl TryFromPrimitive for JmpOp
impl TryFromPrimitive for JmpOp
impl Copy for JmpOp
impl Eq for JmpOp
impl StructuralPartialEq for JmpOp
Auto Trait Implementations§
impl Freeze for JmpOp
impl RefUnwindSafe for JmpOp
impl Send for JmpOp
impl Sync for JmpOp
impl Unpin for JmpOp
impl UnwindSafe for JmpOp
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