Home
last modified time | relevance | path

Searched refs:BPF_JEQ (Results 1 – 22 of 22) sorted by relevance

/external/dhcpcd/
Dbpf-filter.h37 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_ARP, 0, 3),
41 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REQUEST, 2, 0),
44 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ARPOP_REPLY, 0, 1),
82 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ETHERTYPE_IP, 0, 8),
86 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6),
94 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, DHCP_CLIENT_PORT, 0, 1),
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dcodegen_unittest.cc57 BPF_JMP + BPF_JEQ + BPF_K, in SampleProgramSimpleBranch()
76 return codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 42, ret, ret); in SampleProgramAtypicalBranch()
115 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 42, insn1, insn3); in SampleProgramComplex()
117 SANDBOX_ASSERT(insn4->code == BPF_JMP + BPF_JEQ + BPF_K); in SampleProgramComplex()
139 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 42, insn5, insn4); in SampleProgramComplex()
167 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 1, i6, i7); in SampleProgramConfusingTails()
170 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 2, i4, i5); in SampleProgramConfusingTails()
173 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 1, i2, i3); in SampleProgramConfusingTails()
195 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 2, i4, i5); in SampleProgramConfusingTailsBasic()
198 codegen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, 1, i2, i3); in SampleProgramConfusingTailsBasic()
[all …]
Dsandbox_bpf.cc579 BPF_JMP + BPF_JEQ + BPF_K, in AssembleFilter()
668 BPF_JMP + BPF_JEQ + BPF_K, in AssembleFilter()
675 BPF_JMP + BPF_JEQ + BPF_K, in AssembleFilter()
831 lsb_tail = gen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, in CondExpression()
841 gen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, in CondExpression()
879 BPF_JMP + BPF_JEQ + BPF_K, in CondExpression()
911 gen->MakeInstruction(BPF_JMP + BPF_JEQ + BPF_K, in CondExpression()
973 BPF_JMP + BPF_JEQ + BPF_K, in CondExpression()
986 BPF_JMP + BPF_JEQ + BPF_K, 0, lsb_head, invalid_64bit)); in CondExpression()
Dverifier.cc256 case BPF_JEQ: in Jmp()
Dcodegen.cc96 BPF_OP(iter->code) == BPF_JEQ ? "==" : in PrintProgram()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c211 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETH_PPPOE_SESSION, 5, 0), in initFilter()
212 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETH_PPPOE_DISCOVERY, 0, 9), in initFilter()
215 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0, 0, 2), in initFilter()
218 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0, 4, 0), in initFilter()
221 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0, 0, 3), in initFilter()
224 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0, 0, 1), in initFilter()
230 bpfRun[1].code = (u_short) BPF_JMP+BPF_JEQ+BPF_K; in initFilter()
235 bpfRun[2].code = (u_short) BPF_JMP+BPF_JEQ+BPF_K; in initFilter()
/external/android-clat/
Dclatd.c130 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[0]), 0, 7), in configure_packet_socket()
132 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[1]), 0, 5), in configure_packet_socket()
134 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[2]), 0, 3), in configure_packet_socket()
136 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[3]), 0, 1), in configure_packet_socket()
/external/libpcap/
Dgencode.c646 return gen_ncmp(offrel, offset, size, 0xffffffff, BPF_JEQ, 0, v);
692 return gen_ncmp(offrel, offset, size, mask, BPF_JEQ, 0, v);
1702 b = new_block(JMP(BPF_JEQ));
2145 sjeq_avs_cookie = new_stmt(JMP(BPF_JEQ)); in gen_load_prism_llprefixlen()
2671 b = new_block(JMP(BPF_JEQ)); in gen_ppi_dlt_check()
3038 b0 = gen_atmfield_code(A_PROTOTYPE, PT_LLC, BPF_JEQ, 0);
5561 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5572 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5585 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5592 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
[all …]
Dbpf_image.c169 case BPF_JMP|BPF_JEQ|BPF_K:
189 case BPF_JMP|BPF_JEQ|BPF_X:
Dbpf_filter.c430 case BPF_JMP|BPF_JEQ|BPF_K:
446 case BPF_JMP|BPF_JEQ|BPF_X:
666 case BPF_JEQ:
Dgrammar.y606 | '=' { $$ = BPF_JEQ; }
610 | NEQ { $$ = BPF_JEQ; }
665 $$.b = gen_atmfield_code($$.atmfieldtype, (bpf_int32) $1, BPF_JEQ, 0);
704 $$.b = gen_mtp3field_code($$.mtp3fieldtype, (u_int) $1, BPF_JEQ, 0);
Doptimize.c790 if (b->s.code == (BPF_JMP|BPF_JEQ|BPF_K) && in opt_peep()
822 b->s.code = BPF_JMP|BPF_JEQ|BPF_X; in opt_peep()
883 case BPF_JEQ: in opt_peep()
1298 if (sense && code == (BPF_JMP|BPF_JEQ|BPF_K)) in fold_edge()
Dgrammar.c3294 { (yyval.i) = BPF_JEQ; }
3315 { (yyval.i) = BPF_JEQ; }
3585 …blk).b = gen_atmfield_code((yyval.blk).atmfieldtype, (bpf_int32) (yyvsp[(1) - (1)].i), BPF_JEQ, 0);
3729 …l.blk).b = gen_mtp3field_code((yyval.blk).mtp3fieldtype, (u_int) (yyvsp[(1) - (1)].i), BPF_JEQ, 0);
/external/chromium_org/third_party/skia/experimental/webtry/
Dseccomp_bpf.h59 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
/external/skia/experimental/webtry/
Dseccomp_bpf.h59 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
/external/libpcap/bpf/net/
Dbpf_filter.c430 case BPF_JMP|BPF_JEQ|BPF_K:
446 case BPF_JMP|BPF_JEQ|BPF_X:
666 case BPF_JEQ:
/external/kernel-headers/original/uapi/linux/
Dfilter.h77 #define BPF_JEQ 0x10 macro
/external/libpcap/pcap/
Dbpf.h1288 #define BPF_JEQ 0x10 macro
/external/iputils/
Dping.c1378 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 0xAAAA, 0, 1), /* Ours? */ in install_filter()
1381 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, ICMP_ECHOREPLY, 1, 0), /* Echo? */ in install_filter()
1395 insns[2] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, htons(ident), 0, 1); in install_filter()
Dping6.c1781 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 0xAAAA, 0, 1), /* Ours? */ in install_filter()
1784 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, ICMP6_ECHO_REPLY, 1, 0), /* Echo? */ in install_filter()
1798 insns[1] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, htons(ident), 0, 1); in install_filter()
Drarpd.c335 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, ARPOP_RREQUEST, 0, 1), in load_arp_bpflet()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c8082 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, PASS, 0),
8098 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0801, PASS, 0),
8109 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 8, 0, FAIL),
8116 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 3, PASS, 0),
8139 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_X, 0, PASS, 0),
8145 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0xAAAA0300, 0, FAIL),
8147 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0000888E, PASS, FAIL),