Home
last modified time | relevance | path

Searched refs:BPF_JMP (Results 1 – 21 of 21) 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),
89 BPF_JUMP(BPF_JMP + BPF_JSET + BPF_K, 0x1fff, 4, 0),
94 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, DHCP_CLIENT_PORT, 0, 1),
/external/libpcap/
Dbpf_image.c153 case BPF_JMP|BPF_JA:
159 case BPF_JMP|BPF_JGT|BPF_K:
164 case BPF_JMP|BPF_JGE|BPF_K:
169 case BPF_JMP|BPF_JEQ|BPF_K:
174 case BPF_JMP|BPF_JSET|BPF_K:
179 case BPF_JMP|BPF_JGT|BPF_X:
184 case BPF_JMP|BPF_JGE|BPF_X:
189 case BPF_JMP|BPF_JEQ|BPF_X:
194 case BPF_JMP|BPF_JSET|BPF_X:
295 if (BPF_CLASS(p->code) == BPF_JMP && BPF_OP(p->code) != BPF_JA) {
Dbpf_filter.c407 case BPF_JMP|BPF_JA:
422 case BPF_JMP|BPF_JGT|BPF_K:
426 case BPF_JMP|BPF_JGE|BPF_K:
430 case BPF_JMP|BPF_JEQ|BPF_K:
434 case BPF_JMP|BPF_JSET|BPF_K:
438 case BPF_JMP|BPF_JGT|BPF_X:
442 case BPF_JMP|BPF_JGE|BPF_X:
446 case BPF_JMP|BPF_JEQ|BPF_X:
450 case BPF_JMP|BPF_JSET|BPF_X:
629 case BPF_JMP:
Doptimize.c360 case BPF_JMP: in atomuse()
448 if (BPF_CLASS(b->s.code) == BPF_JMP) { in compute_local_ud()
790 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()
847 b->s.code = BPF_JMP|BPF_K|BPF_JSET; in opt_peep()
857 if (b->s.code == (BPF_JMP|BPF_K|BPF_JSET)) { in opt_peep()
1156 if (BPF_CLASS(s->s.code) == BPF_JMP) { in opt_blk()
1298 if (sense && code == (BPF_JMP|BPF_JEQ|BPF_K)) in fold_edge()
1628 while (BPF_CLASS((*b)->s.code) == BPF_JMP && JT(*b) == JF(*b)) in opt_root()
2044 if (BPF_CLASS(src->s.code) != BPF_JMP || src->s.code == (BPF_JMP|BPF_JA)) { in convert_code_r()
[all …]
Dgencode.c130 #define JMP(c) ((c)|BPF_JMP|BPF_K)
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);
5598 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5604 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5653 s[i] = new_stmt(BPF_JMP|BPF_JA);
5672 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
5728 s[i] = new_stmt(BPF_JMP|BPF_JA);
[all …]
/external/libpcap/bpf/net/
Dbpf_filter.c407 case BPF_JMP|BPF_JA:
422 case BPF_JMP|BPF_JGT|BPF_K:
426 case BPF_JMP|BPF_JGE|BPF_K:
430 case BPF_JMP|BPF_JEQ|BPF_K:
434 case BPF_JMP|BPF_JSET|BPF_K:
438 case BPF_JMP|BPF_JGT|BPF_X:
442 case BPF_JMP|BPF_JGE|BPF_X:
446 case BPF_JMP|BPF_JEQ|BPF_X:
450 case BPF_JMP|BPF_JSET|BPF_X:
629 case BPF_JMP:
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c201 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, PASS, 0),
217 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0801, PASS, 0),
228 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 8, 0, FAIL),
235 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 3, PASS, 0),
258 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_X, 0, PASS, 0),
264 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0xAAAA0300, 0, FAIL),
266 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0000888E, PASS, FAIL),
289 if (BPF_CLASS(insn->code) == BPF_JMP) { in add_monitor_filter()
290 if (insn->code == (BPF_JMP|BPF_JA)) { in add_monitor_filter()
/external/strace/xlat/
Dbpf_class.h19 #if defined(BPF_JMP) || (defined(HAVE_DECL_BPF_JMP) && HAVE_DECL_BPF_JMP)
20 XLAT(BPF_JMP),
Dbpf_class.in6 BPF_JMP
/external/openssh/
Dsandbox-seccomp-filter.c77 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_ ## _nr, 0, 1), \
80 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_ ## _nr, 0, 1), \
88 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, SECCOMP_AUDIT_ARCH, 1, 0),
/external/strace/tests/
Dseccomp.c30 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
34 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
/external/android-clat/
Dclatd.c94 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[0]), 0, 7), in configure_packet_socket()
96 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[1]), 0, 5), in configure_packet_socket()
98 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[2]), 0, 3), in configure_packet_socket()
100 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, htonl(ipv6[3]), 0, 1), in configure_packet_socket()
/external/kernel-headers/original/uapi/linux/
Dbpf_common.h11 #define BPF_JMP 0x05 macro
/external/llvm/lib/Target/BPF/
DBPFInstrInfo.td99 let BPFClass = 5; // BPF_JMP
120 let BPFClass = 5; // BPF_JMP
355 let BPFClass = 5; // BPF_JMP
371 let BPFClass = 5; // BPF_JMP
420 let BPFClass = 5; // BPF_JMP
/external/strace/
Dseccomp.c87 case BPF_JMP: in decode_bpf_code()
/external/libpcap/pcap/
Dbpf.h1259 #define BPF_JMP 0x05 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/l2_packet/
Dl2_packet_linux.c296 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, protocol, 0, 1), in l2_packet_init_bridge()
/external/toybox/toys/pending/
Ddhcp.c244 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, IPPROTO_UDP, 0, 6),
246 BPF_JUMP(BPF_JMP|BPF_JSET|BPF_K, 0x1fff, 4, 0),
248 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 68, 0, 1),