Home
last modified time | relevance | path

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

/external/libpcap/
Dbpf_image.c199 case BPF_ALU|BPF_ADD|BPF_X:
204 case BPF_ALU|BPF_SUB|BPF_X:
209 case BPF_ALU|BPF_MUL|BPF_X:
214 case BPF_ALU|BPF_DIV|BPF_X:
219 case BPF_ALU|BPF_AND|BPF_X:
224 case BPF_ALU|BPF_OR|BPF_X:
229 case BPF_ALU|BPF_LSH|BPF_X:
234 case BPF_ALU|BPF_RSH|BPF_X:
239 case BPF_ALU|BPF_ADD|BPF_K:
244 case BPF_ALU|BPF_SUB|BPF_K:
[all …]
Dbpf_filter.c454 case BPF_ALU|BPF_ADD|BPF_X:
458 case BPF_ALU|BPF_SUB|BPF_X:
462 case BPF_ALU|BPF_MUL|BPF_X:
466 case BPF_ALU|BPF_DIV|BPF_X:
472 case BPF_ALU|BPF_AND|BPF_X:
476 case BPF_ALU|BPF_OR|BPF_X:
480 case BPF_ALU|BPF_LSH|BPF_X:
484 case BPF_ALU|BPF_RSH|BPF_X:
488 case BPF_ALU|BPF_ADD|BPF_K:
492 case BPF_ALU|BPF_SUB|BPF_K:
[all …]
Doptimize.c361 case BPF_ALU: in atomuse()
389 case BPF_ALU: in atomdef()
729 if (add == 0 || add->s.code != (BPF_ALU|BPF_ADD|BPF_X)) in opt_peep()
796 if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) { in opt_peep()
832 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
844 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
967 case BPF_ALU|BPF_NEG: in opt_stmt()
977 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
978 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
979 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
[all …]
Dgencode.c753 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
1662 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K); in gen_loadx_iphdrlen()
1665 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K); in gen_loadx_iphdrlen()
1675 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
2138 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K); in gen_load_prism_llprefixlen()
2271 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K); in gen_load_radiotap_llprefixlen()
2284 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X); in gen_load_radiotap_llprefixlen()
2339 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K); in gen_load_ppi_llprefixlen()
2352 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X); in gen_load_ppi_llprefixlen()
2441 s2 = new_stmt(BPF_ALU|BPF_ADD|BPF_K); in gen_load_802_11_header_len()
[all …]
/external/libpcap/bpf/net/
Dbpf_filter.c454 case BPF_ALU|BPF_ADD|BPF_X:
458 case BPF_ALU|BPF_SUB|BPF_X:
462 case BPF_ALU|BPF_MUL|BPF_X:
466 case BPF_ALU|BPF_DIV|BPF_X:
472 case BPF_ALU|BPF_AND|BPF_X:
476 case BPF_ALU|BPF_OR|BPF_X:
480 case BPF_ALU|BPF_LSH|BPF_X:
484 case BPF_ALU|BPF_RSH|BPF_X:
488 case BPF_ALU|BPF_ADD|BPF_K:
492 case BPF_ALU|BPF_SUB|BPF_K:
[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.h16 #if defined(BPF_ALU) || (defined(HAVE_DECL_BPF_ALU) && HAVE_DECL_BPF_ALU)
17 XLAT(BPF_ALU),
Dbpf_class.in5 BPF_ALU
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h10 #define BPF_ALU 0x04 macro
/external/strace/
Dseccomp.c81 case BPF_ALU: in decode_bpf_code()
/external/libpcap/pcap/
Dbpf.h1258 #define BPF_ALU 0x04 macro
/external/llvm/lib/Target/BPF/
DBPFInstrInfo.td507 let BPFClass = 4; // BPF_ALU