Searched refs:BPF_ALU (Results 1 – 6 of 6) sorted by relevance
/tools/net/ |
D | bpf_exp.y | 349 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 …]
|
D | bpf_dbg.c | 64 #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/ |
D | filter.h | 43 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 61 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 71 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \ 89 .code = BPF_ALU | BPF_MOV | BPF_X, \ 107 .code = BPF_ALU | BPF_MOV | BPF_K, \ 125 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
|
/tools/include/uapi/linux/ |
D | bpf_common.h | 10 #define BPF_ALU 0x04 macro
|
/tools/testing/selftests/net/ |
D | psock_fanout.c | 109 { BPF_ALU | BPF_MOV | BPF_K, 0, 0, 0, 0 }, in sock_fanout_set_ebpf()
|
D | reuseport_bpf.c | 138 { BPF_ALU | BPF_MOD, 0, 0, mod }, in attach_cbpf()
|