Home
last modified time | relevance | path

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

/tools/bpf/
Dbpf_exp.y349 bpf_set_curr_instr(BPF_ALU | BPF_ADD | BPF_K, 0, 0, $3); }
351 bpf_set_curr_instr(BPF_ALU | BPF_ADD | BPF_X, 0, 0, 0); }
353 bpf_set_curr_instr(BPF_ALU | BPF_ADD | BPF_X, 0, 0, 0); }
358 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_K, 0, 0, $3); }
360 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_X, 0, 0, 0); }
362 bpf_set_curr_instr(BPF_ALU | BPF_SUB | BPF_X, 0, 0, 0); }
367 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_K, 0, 0, $3); }
369 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_X, 0, 0, 0); }
371 bpf_set_curr_instr(BPF_ALU | BPF_MUL | BPF_X, 0, 0, 0); }
376 bpf_set_curr_instr(BPF_ALU | BPF_DIV | BPF_K, 0, 0, $3); }
[all …]
Dbpf_dbg.c64 #define BPF_ALU_ADD (BPF_ALU | BPF_ADD)
65 #define BPF_ALU_SUB (BPF_ALU | BPF_SUB)
66 #define BPF_ALU_MUL (BPF_ALU | BPF_MUL)
67 #define BPF_ALU_DIV (BPF_ALU | BPF_DIV)
68 #define BPF_ALU_MOD (BPF_ALU | BPF_MOD)
69 #define BPF_ALU_NEG (BPF_ALU | BPF_NEG)
70 #define BPF_ALU_AND (BPF_ALU | BPF_AND)
71 #define BPF_ALU_OR (BPF_ALU | BPF_OR)
72 #define BPF_ALU_XOR (BPF_ALU | BPF_XOR)
73 #define BPF_ALU_LSH (BPF_ALU | BPF_LSH)
[all …]
/tools/include/linux/
Dfilter.h44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
90 .code = BPF_ALU | BPF_MOV | BPF_X, \
108 .code = BPF_ALU | BPF_MOV | BPF_K, \
126 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
/tools/include/uapi/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/tools/testing/selftests/net/
Dpsock_fanout.c157 { BPF_ALU | BPF_MOV | BPF_K, 0, 0, 0, 0 }, in sock_fanout_set_ebpf()
Dreuseport_bpf.c137 { BPF_ALU | BPF_MOD, 0, 0, mod }, in attach_cbpf()
/tools/lib/bpf/
Drelo_core.c1048 case BPF_ALU: in bpf_core_patch_insn()