Home
last modified time | relevance | path

Searched refs:BPF_ALU (Results 1 – 6 of 6) 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 …]