Home
last modified time | relevance | path

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

/tools/net/
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.h43 .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/
Dbpf_common.h10 #define BPF_ALU 0x04 macro
/tools/testing/selftests/net/
Dpsock_fanout.c109 { BPF_ALU | BPF_MOV | BPF_K, 0, 0, 0, 0 }, in sock_fanout_set_ebpf()
Dreuseport_bpf.c138 { BPF_ALU | BPF_MOD, 0, 0, mod }, in attach_cbpf()