Home
last modified time | relevance | path

Searched refs:BPF_ALU (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Debpf.rs46 pub const BPF_ALU: u8 = 0x04; constant
215 pub const ADD32_IMM: u8 = BPF_ALU | BPF_K | BPF_ADD;
217 pub const ADD32_REG: u8 = BPF_ALU | BPF_X | BPF_ADD;
219 pub const SUB32_IMM: u8 = BPF_ALU | BPF_K | BPF_SUB;
221 pub const SUB32_REG: u8 = BPF_ALU | BPF_X | BPF_SUB;
223 pub const MUL32_IMM: u8 = BPF_ALU | BPF_K | BPF_MUL;
225 pub const MUL32_REG: u8 = BPF_ALU | BPF_X | BPF_MUL;
227 pub const DIV32_IMM: u8 = BPF_ALU | BPF_K | BPF_DIV;
229 pub const DIV32_REG: u8 = BPF_ALU | BPF_X | BPF_DIV;
231 pub const OR32_IMM: u8 = BPF_ALU | BPF_K | BPF_OR;
[all …]
H A Dassembler.rs101 entry(&format!("{name}32"), AluBinary, ebpf::BPF_ALU | opc); in make_instruction_map()
H A Dinsn_builder.rs399 X32 = BPF_ALU as isize,
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs119 pub const BPF_ALU: u32 = 4; constant