Lines Matching refs:BPF_ALU
46 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;
233 pub const OR32_REG: u8 = BPF_ALU | BPF_X | BPF_OR;
235 pub const AND32_IMM: u8 = BPF_ALU | BPF_K | BPF_AND;
237 pub const AND32_REG: u8 = BPF_ALU | BPF_X | BPF_AND;
239 pub const LSH32_IMM: u8 = BPF_ALU | BPF_K | BPF_LSH;
241 pub const LSH32_REG: u8 = BPF_ALU | BPF_X | BPF_LSH;
243 pub const RSH32_IMM: u8 = BPF_ALU | BPF_K | BPF_RSH;
245 pub const RSH32_REG: u8 = BPF_ALU | BPF_X | BPF_RSH;
247 pub const NEG32: u8 = BPF_ALU | BPF_NEG;
249 pub const MOD32_IMM: u8 = BPF_ALU | BPF_K | BPF_MOD;
251 pub const MOD32_REG: u8 = BPF_ALU | BPF_X | BPF_MOD;
253 pub const XOR32_IMM: u8 = BPF_ALU | BPF_K | BPF_XOR;
255 pub const XOR32_REG: u8 = BPF_ALU | BPF_X | BPF_XOR;
257 pub const MOV32_IMM: u8 = BPF_ALU | BPF_K | BPF_MOV;
259 pub const MOV32_REG: u8 = BPF_ALU | BPF_X | BPF_MOV;
263 pub const ARSH32_IMM: u8 = BPF_ALU | BPF_K | BPF_ARSH;
267 pub const ARSH32_REG: u8 = BPF_ALU | BPF_X | BPF_ARSH;
270 pub const LE: u8 = BPF_ALU | BPF_K | BPF_END;
272 pub const BE: u8 = BPF_ALU | BPF_X | BPF_END;