Home
last modified time | relevance | path

Searched refs:BPF_JMP (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Debpf.rs48 pub const BPF_JMP: u8 = 0x05; constant
330 pub const JA: u8 = BPF_JMP | BPF_JA;
332 pub const JEQ_IMM: u8 = BPF_JMP | BPF_K | BPF_JEQ;
334 pub const JEQ_REG: u8 = BPF_JMP | BPF_X | BPF_JEQ;
336 pub const JGT_IMM: u8 = BPF_JMP | BPF_K | BPF_JGT;
338 pub const JGT_REG: u8 = BPF_JMP | BPF_X | BPF_JGT;
340 pub const JGE_IMM: u8 = BPF_JMP | BPF_K | BPF_JGE;
342 pub const JGE_REG: u8 = BPF_JMP | BPF_X | BPF_JGE;
344 pub const JLT_IMM: u8 = BPF_JMP | BPF_K | BPF_JLT;
346 pub const JLT_REG: u8 = BPF_JMP | BPF_X | BPF_JLT;
[all …]
H A Dassembler.rs136 entry(name, JumpConditional, ebpf::BPF_JMP | condition); in make_instruction_map()
H A Dverifier.rs49 if last_opc & ebpf::BPF_CLS_MASK != ebpf::BPF_JMP { in check_prog_len()
H A Dinsn_builder.rs549 cmp | src_bit | BPF_JMP in opt_code_byte()
607 BPF_CALL | BPF_JMP in opt_code_byte()
636 BPF_EXIT | BPF_JMP in opt_code_byte()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs120 pub const BPF_JMP: u32 = 5; constant