Home
last modified time | relevance | path

Searched refs:BPF_K (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Debpf.rs95 pub const BPF_K: u8 = 0x00; constant
215 pub const ADD32_IMM: u8 = BPF_ALU | BPF_K | BPF_ADD;
219 pub const SUB32_IMM: u8 = BPF_ALU | BPF_K | BPF_SUB;
223 pub const MUL32_IMM: u8 = BPF_ALU | BPF_K | BPF_MUL;
227 pub const DIV32_IMM: u8 = BPF_ALU | BPF_K | BPF_DIV;
231 pub const OR32_IMM: u8 = BPF_ALU | BPF_K | BPF_OR;
235 pub const AND32_IMM: u8 = BPF_ALU | BPF_K | BPF_AND;
239 pub const LSH32_IMM: u8 = BPF_ALU | BPF_K | BPF_LSH;
243 pub const RSH32_IMM: u8 = BPF_ALU | BPF_K | BPF_RSH;
249 pub const MOD32_IMM: u8 = BPF_ALU | BPF_K | BPF_MOD;
[all …]
H A Dassembler.rs191 (AluBinary, Register(dst), Integer(imm), Nil) => insn(opc | ebpf::BPF_K, dst, 0, 0, imm), in encode()
204 insn(opc | ebpf::BPF_K, dst, 0, off, imm) in encode()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs124 pub const BPF_K: u32 = 0; constant