Home
last modified time | relevance | path

Searched refs:BPF_OP (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/sandbox/linux/seccomp-bpf/
Dcodegen.cc19 if (BPF_OP(instruction->code) != BPF_JA) { in TraverseRecursively()
91 if (BPF_OP(iter->code) == BPF_JA) { in PrintProgram()
95 BPF_OP(iter->code) == BPF_JSET ? "&" : in PrintProgram()
96 BPF_OP(iter->code) == BPF_JEQ ? "==" : in PrintProgram()
97 BPF_OP(iter->code) == BPF_JGE ? ">=" : in PrintProgram()
98 BPF_OP(iter->code) == BPF_JGT ? ">" : "???", in PrintProgram()
118 fprintf(stderr, BPF_OP(iter->code) == BPF_NEG in PrintProgram()
120 BPF_OP(iter->code) == BPF_ADD ? "+" : in PrintProgram()
121 BPF_OP(iter->code) == BPF_SUB ? "-" : in PrintProgram()
122 BPF_OP(iter->code) == BPF_MUL ? "*" : in PrintProgram()
[all …]
Dverifier.cc241 if (BPF_OP(insn.code) == BPF_JA) { in Jmp()
255 switch (BPF_OP(insn.code)) { in Jmp()
299 if (BPF_OP(insn.code) == BPF_NEG) { in Alu()
307 switch (BPF_OP(insn.code)) { in Alu()
Dcodegen_unittest.cc284 if (BPF_OP(insn->code) != BPF_JA) { in FindBranchTargets()
401 BPF_OP((*iter)->code) != BPF_JA) { in MergeTails()
419 if (BPF_OP(insn->code) != BPF_JA) { in MergeTails()
472 if (BPF_OP(insn->code) == BPF_JA) { in CompileAndCompare()
509 if (BPF_OP(insn.code) == BPF_JA) { in CompileAndCompare()
/external/kernel-headers/original/uapi/linux/
Dfilter.h63 #define BPF_OP(code) ((code) & 0xf0) macro
/external/libpcap/
Dbpf_filter.c608 switch (BPF_OP(p->code)) {
657 switch (BPF_OP(p->code)) {
Dbpf_image.c295 if (BPF_CLASS(p->code) == BPF_JMP && BPF_OP(p->code) != BPF_JA) {
Doptimize.c594 switch (BPF_OP(s->code)) { in fold_op()
881 switch (BPF_OP(b->s.code)) { in opt_peep()
985 op = BPF_OP(s->code); in opt_stmt()
1020 op = BPF_OP(s->code); in opt_stmt()
/external/libpcap/bpf/net/
Dbpf_filter.c608 switch (BPF_OP(p->code)) {
657 switch (BPF_OP(p->code)) {
/external/libpcap/pcap/
Dbpf.h1277 #define BPF_OP(code) ((code) & 0xf0) macro