Home
last modified time | relevance | path

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

12

/external/libpcap/
Dbpf_filter.c277 case BPF_ALU|BPF_ADD|BPF_X: in pcap_filter_with_aux_data()
281 case BPF_ALU|BPF_SUB|BPF_X: in pcap_filter_with_aux_data()
285 case BPF_ALU|BPF_MUL|BPF_X: in pcap_filter_with_aux_data()
289 case BPF_ALU|BPF_DIV|BPF_X: in pcap_filter_with_aux_data()
295 case BPF_ALU|BPF_MOD|BPF_X: in pcap_filter_with_aux_data()
301 case BPF_ALU|BPF_AND|BPF_X: in pcap_filter_with_aux_data()
305 case BPF_ALU|BPF_OR|BPF_X: in pcap_filter_with_aux_data()
309 case BPF_ALU|BPF_XOR|BPF_X: in pcap_filter_with_aux_data()
313 case BPF_ALU|BPF_LSH|BPF_X: in pcap_filter_with_aux_data()
320 case BPF_ALU|BPF_RSH|BPF_X: in pcap_filter_with_aux_data()
[all …]
Dbpf_image.c289 case BPF_ALU|BPF_ADD|BPF_X: in bpf_image()
294 case BPF_ALU|BPF_SUB|BPF_X: in bpf_image()
299 case BPF_ALU|BPF_MUL|BPF_X: in bpf_image()
304 case BPF_ALU|BPF_DIV|BPF_X: in bpf_image()
309 case BPF_ALU|BPF_MOD|BPF_X: in bpf_image()
314 case BPF_ALU|BPF_AND|BPF_X: in bpf_image()
319 case BPF_ALU|BPF_OR|BPF_X: in bpf_image()
324 case BPF_ALU|BPF_XOR|BPF_X: in bpf_image()
329 case BPF_ALU|BPF_LSH|BPF_X: in bpf_image()
334 case BPF_ALU|BPF_RSH|BPF_X: in bpf_image()
[all …]
Doptimize.c567 case BPF_ALU: in atomuse()
595 case BPF_ALU: in atomdef()
973 if (add == 0 || add->s.code != (BPF_ALU|BPF_ADD|BPF_X)) in opt_peep()
1044 if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) { in opt_peep()
1088 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
1104 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
1240 case BPF_ALU|BPF_NEG: in opt_stmt()
1266 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
1267 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
1268 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
[all …]
Dgencode.c1121 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_ncmp()
1882 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_loadx_iphdrlen()
1885 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_loadx_iphdrlen()
1895 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
2383 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_load_prism_llprefixlen()
2516 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_radiotap_llprefixlen()
2529 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_radiotap_llprefixlen()
2584 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_ppi_llprefixlen()
2597 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_ppi_llprefixlen()
2687 s2 = new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_K); in gen_load_802_11_header_len()
[all …]
/external/elfutils/libcpu/
Dbpf_disasm.c48 [BPF_ALU] = "alu",
165 case BPF_ALU | BPF_END | BPF_TO_LE: in bpf_disasm()
169 case BPF_ALU | BPF_END | BPF_TO_BE: in bpf_disasm()
173 case BPF_ALU | BPF_ADD | BPF_K: in bpf_disasm()
176 case BPF_ALU | BPF_SUB | BPF_K: in bpf_disasm()
179 case BPF_ALU | BPF_MUL | BPF_K: in bpf_disasm()
182 case BPF_ALU | BPF_DIV | BPF_K: in bpf_disasm()
185 case BPF_ALU | BPF_OR | BPF_K: in bpf_disasm()
188 case BPF_ALU | BPF_AND | BPF_K: in bpf_disasm()
191 case BPF_ALU | BPF_LSH | BPF_K: in bpf_disasm()
[all …]
/external/strace/xlat/
Debpf_class.h34 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
36 static_assert((BPF_ALU) == (0x4), "BPF_ALU != 0x4");
39 # define BPF_ALU 0x4
70 [BPF_ALU] = XLAT(BPF_ALU),
Dbpf_class.h34 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
36 static_assert((BPF_ALU) == (0x4), "BPF_ALU != 0x4");
39 # define BPF_ALU 0x4
77 [BPF_ALU] = XLAT(BPF_ALU),
Debpf_class.in6 BPF_ALU 0x4
Dbpf_class.in6 BPF_ALU 0x4
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c189 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
191 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0),
202 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
217 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
229 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
236 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
246 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
248 BPF_STMT(BPF_ALU | BPF_RSH | BPF_K, 6),
250 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 24),
252 BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0),
/external/iproute2/include/
Dbpf_util.h80 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
98 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
116 .code = BPF_ALU | BPF_MOV | BPF_X, \
134 .code = BPF_ALU | BPF_MOV | BPF_K, \
/external/bcc/src/cc/compat/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/external/iproute2/include/uapi/linux/
Dbpf_common.h11 #define BPF_ALU 0x04 macro
/external/elfutils/lib/
Dbpf.h14 #define BPF_ALU 0x04 macro
/external/bcc/src/cc/includes/
Dlibbpf.h137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
155 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
/external/bcc/src/cc/
Dlibbpf.h137 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
155 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
/external/iptables/include/linux/
Dfilter.h44 #define BPF_ALU 0x04 macro
/external/libpcap/pcap/
Dbpf.h143 #define BPF_ALU 0x04 macro
/external/openssh/
Dsandbox-seccomp-filter.c120 BPF_STMT(BPF_ALU+BPF_AND+BPF_K, ~((_arg_mask) & 0xFFFFFFFF)), \
125 BPF_STMT(BPF_ALU+BPF_AND+BPF_K, \
/external/libnetfilter_conntrack/src/conntrack/
Dbsf.c43 case BPF_ALU|BPF_AND|BPF_K:
52 case BPF_ALU|BPF_ADD|BPF_K:
204 .code = BPF_ALU|BPF_AND|BPF_K, in nfct_bsf_alu_and()
216 .code = BPF_ALU|BPF_ADD|BPF_K, in nfct_bsf_add_attr_data_offset()
/external/strace/
Dbpf_filter.c97 case BPF_ALU: in print_bpf_filter_code()
/external/strace/tests-mx32/
Dseccomp-filter-v.c158 case BPF_ALU: in main()
/external/strace/tests-m32/
Dseccomp-filter-v.c158 case BPF_ALU: in main()
/external/strace/tests/
Dseccomp-filter-v.c158 case BPF_ALU: in main()

12