Home
last modified time | relevance | path

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

/external/libpcap/
Dbpf_image.c185 case BPF_ALU|BPF_ADD|BPF_X:
190 case BPF_ALU|BPF_SUB|BPF_X:
195 case BPF_ALU|BPF_MUL|BPF_X:
200 case BPF_ALU|BPF_DIV|BPF_X:
205 case BPF_ALU|BPF_AND|BPF_X:
210 case BPF_ALU|BPF_OR|BPF_X:
215 case BPF_ALU|BPF_LSH|BPF_X:
220 case BPF_ALU|BPF_RSH|BPF_X:
225 case BPF_ALU|BPF_ADD|BPF_K:
230 case BPF_ALU|BPF_SUB|BPF_K:
[all …]
Doptimize.c392 case BPF_ALU:
421 case BPF_ALU:
774 if (add == 0 || add->s.code != (BPF_ALU|BPF_ADD|BPF_X))
841 if (last->s.code == (BPF_ALU|BPF_SUB|BPF_X)) {
877 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) {
889 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) &&
1004 case BPF_ALU|BPF_NEG:
1014 case BPF_ALU|BPF_ADD|BPF_K:
1015 case BPF_ALU|BPF_SUB|BPF_K:
1016 case BPF_ALU|BPF_MUL|BPF_K:
[all …]
Dgencode.c668 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
1453 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K); in gen_loadx_iphdrlen()
1456 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K); in gen_loadx_iphdrlen()
1467 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X)); in gen_loadx_iphdrlen()
1888 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1901 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
1960 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1973 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
4596 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4607 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
[all …]
Dpcap-bpf.h754 #define BPF_ALU 0x04 macro
Dwlan_filtering.patch148 + s_add_a_x = new_stmt(BPF_ALU|BPF_ADD|BPF_X);
/external/libpcap/bpf/net/
Dbpf_filter.c434 case BPF_ALU|BPF_ADD|BPF_X:
438 case BPF_ALU|BPF_SUB|BPF_X:
442 case BPF_ALU|BPF_MUL|BPF_X:
446 case BPF_ALU|BPF_DIV|BPF_X:
452 case BPF_ALU|BPF_AND|BPF_X:
456 case BPF_ALU|BPF_OR|BPF_X:
460 case BPF_ALU|BPF_LSH|BPF_X:
464 case BPF_ALU|BPF_RSH|BPF_X:
468 case BPF_ALU|BPF_ADD|BPF_K:
472 case BPF_ALU|BPF_SUB|BPF_K:
[all …]
/external/kernel-headers/original/linux/
Dfilter.h48 #define BPF_ALU 0x04 macro
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c6529 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
6531 BPF_STMT(BPF_ALU | BPF_OR | BPF_X, 0),
6542 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
6557 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
6569 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
6576 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
6586 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
6588 BPF_STMT(BPF_ALU | BPF_RSH | BPF_K, 6),
6590 BPF_STMT(BPF_ALU | BPF_ADD | BPF_K, 24),
6592 BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0),