Home
last modified time | relevance | path

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

12

/external/libpcap/
Dbpf_image.c194 case BPF_ALU|BPF_ADD|BPF_X:
199 case BPF_ALU|BPF_SUB|BPF_X:
204 case BPF_ALU|BPF_MUL|BPF_X:
209 case BPF_ALU|BPF_DIV|BPF_X:
214 case BPF_ALU|BPF_MOD|BPF_X:
219 case BPF_ALU|BPF_AND|BPF_X:
224 case BPF_ALU|BPF_OR|BPF_X:
229 case BPF_ALU|BPF_XOR|BPF_X:
234 case BPF_ALU|BPF_LSH|BPF_X:
239 case BPF_ALU|BPF_RSH|BPF_X:
[all …]
Dbpf_filter.c497 case BPF_ALU|BPF_ADD|BPF_X:
501 case BPF_ALU|BPF_SUB|BPF_X:
505 case BPF_ALU|BPF_MUL|BPF_X:
509 case BPF_ALU|BPF_DIV|BPF_X:
515 case BPF_ALU|BPF_MOD|BPF_X:
521 case BPF_ALU|BPF_AND|BPF_X:
525 case BPF_ALU|BPF_OR|BPF_X:
529 case BPF_ALU|BPF_XOR|BPF_X:
533 case BPF_ALU|BPF_LSH|BPF_X:
537 case BPF_ALU|BPF_RSH|BPF_X:
[all …]
Doptimize.c409 case BPF_ALU: in atomuse()
437 case BPF_ALU: in atomdef()
757 if (add == 0 || add->s.code != (BPF_ALU|BPF_ADD|BPF_X)) in opt_peep()
824 if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) { in opt_peep()
860 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
872 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
996 case BPF_ALU|BPF_NEG: in opt_stmt()
1006 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
1007 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
1008 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
[all …]
Dgencode.c1013 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_ncmp()
1750 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_loadx_iphdrlen()
1753 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_loadx_iphdrlen()
1763 sappend(s, new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
2254 s2 = new_stmt(cstate, BPF_ALU|BPF_AND|BPF_K); in gen_load_prism_llprefixlen()
2387 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_radiotap_llprefixlen()
2400 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_radiotap_llprefixlen()
2455 s2 = new_stmt(cstate, BPF_ALU|BPF_LSH|BPF_K); in gen_load_ppi_llprefixlen()
2468 s2 = new_stmt(cstate, BPF_ALU|BPF_OR|BPF_X); in gen_load_ppi_llprefixlen()
2558 s2 = new_stmt(cstate, BPF_ALU|BPF_ADD|BPF_K); in gen_load_802_11_header_len()
[all …]
/external/libpcap/bpf/net/
Dbpf_filter.c497 case BPF_ALU|BPF_ADD|BPF_X:
501 case BPF_ALU|BPF_SUB|BPF_X:
505 case BPF_ALU|BPF_MUL|BPF_X:
509 case BPF_ALU|BPF_DIV|BPF_X:
515 case BPF_ALU|BPF_MOD|BPF_X:
521 case BPF_ALU|BPF_AND|BPF_X:
525 case BPF_ALU|BPF_OR|BPF_X:
529 case BPF_ALU|BPF_XOR|BPF_X:
533 case BPF_ALU|BPF_LSH|BPF_X:
537 case BPF_ALU|BPF_RSH|BPF_X:
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c186 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
188 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0),
199 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
214 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
226 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
233 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
243 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
245 BPF_STMT(BPF_ALU | BPF_RSH | BPF_K, 6),
247 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 24),
249 BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0),
/external/strace/xlat/
Dbpf_class.h23 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
24 XLAT(BPF_ALU),
Dbpf_class.in5 BPF_ALU
/external/libchrome/sandbox/linux/system_headers/
Dlinux_filter.h32 #ifndef BPF_ALU
33 #define BPF_ALU 0x04 macro
/external/iproute2/include/linux/
Dbpf_common.h10 #define BPF_ALU 0x04 macro
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h10 #define BPF_ALU 0x04 macro
/external/iptables/include/linux/
Dfilter.h44 #define BPF_ALU 0x04 macro
/external/libpcap/pcap/
Dbpf.h134 #define BPF_ALU 0x04 macro
/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/libchrome/sandbox/linux/bpf_dsl/
Ddump_bpf.cc130 case BPF_ALU: in AppendInstruction()
Dcodegen_unittest.cc358 MakeInstruction(BPF_ALU + BPF_ADD + BPF_K, i, nodes.back())); in TEST_F()
385 MakeInstruction(BPF_ALU + BPF_ADD + BPF_K, i, nodes.back())); in TEST_F()
Dverifier.cc213 case BPF_ALU: in EvaluateBPF()
Dpolicy_compiler.cc421 BPF_ALU + BPF_AND + BPF_K, in MaskedEqualHalf()
/external/strace/tests/
Dseccomp-filter-v.c162 case BPF_ALU: in main()
/external/strace/tests-m32/
Dseccomp-filter-v.c162 case BPF_ALU: in main()
/external/strace/tests-mx32/
Dseccomp-filter-v.c162 case BPF_ALU: in main()
/external/strace/
Dseccomp.c84 case BPF_ALU: in decode_bpf_code()
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_fanout.c127 { 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()
/external/llvm/lib/Target/BPF/
DBPFInstrInfo.td517 let BPFClass = 4; // BPF_ALU

12