Home
last modified time | relevance | path

Searched refs:BPF_K (Results 1 – 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_monitor.c189 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
202 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
204 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, PASS, 0),
217 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
220 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0801, PASS, 0),
229 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
231 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 8, 0, FAIL),
236 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
238 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 3, PASS, 0),
246 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_monitor.c186 BPF_STMT(BPF_ALU | BPF_LSH | BPF_K, 8),
199 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xF),
201 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0, PASS, 0),
214 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F03),
217 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x0801, PASS, 0),
226 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0c),
228 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 8, 0, FAIL),
233 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x03),
235 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 3, PASS, 0),
243 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x80),
[all …]
/third_party/eudev/src/libudev/
Dlibudev-monitor.c262 bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, UDEV_MONITOR_MAGIC, 1, 0); in udev_monitor_filter_update()
264 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0xffffffff); in udev_monitor_filter_update()
283 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_hi); in udev_monitor_filter_update()
285 bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, tag_bloom_hi, 0, 3); in udev_monitor_filter_update()
290 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_lo); in udev_monitor_filter_update()
293 … bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, tag_bloom_lo, 1 + (tag_matches * 6), 0); in udev_monitor_filter_update()
297 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0); in udev_monitor_filter_update()
309 bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, hash, 0, 1); in udev_monitor_filter_update()
312 bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, hash, 0, 3); in udev_monitor_filter_update()
318 bpf_jmp(ins, &i, BPF_JMP|BPF_JEQ|BPF_K, hash, 0, 1); in udev_monitor_filter_update()
[all …]
/third_party/ltp/include/lapi/
Dbpf.h49 #define BPF_K 0x00 macro
465 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
473 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
542 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
550 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
558 .code = BPF_ALU | BPF_MOV | BPF_K, \
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl04.c47 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL),
48 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW)
Dprctl02.c55 BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ALLOW)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_linux.c359 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, protocol, 0, 1), in l2_packet_init_bridge()
361 BPF_STMT(BPF_RET | BPF_K, ~0), in l2_packet_init_bridge()
363 BPF_STMT(BPF_RET | BPF_K, 0) in l2_packet_init_bridge()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_linux.c364 BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, protocol, 0, 1), in l2_packet_init_bridge()
366 BPF_STMT(BPF_RET | BPF_K, ~0), in l2_packet_init_bridge()
368 BPF_STMT(BPF_RET | BPF_K, 0) in l2_packet_init_bridge()
/third_party/iptables/include/linux/
Dfilter.h82 #define BPF_K 0x00 macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFInstrFormats.td26 def BPF_K : BPFSrcType<0x0>;
DBPFInstrInfo.td174 : TYPE_ALU_JMP<Opc.Value, BPF_K.Value,
206 : TYPE_ALU_JMP<Opc.Value, BPF_K.Value,
245 : TYPE_ALU_JMP<Opc.Value, BPF_K.Value, outs, ins, asmstr, pattern> {
469 : TYPE_ALU_JMP<Opc.Value, BPF_K.Value,
481 : TYPE_ALU_JMP<BPF_CALL.Value, BPF_K.Value,
533 : TYPE_ALU_JMP<BPF_EXIT.Value, BPF_K.Value,
/third_party/toybox/toys/pending/
Ddhcp.c241 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, IPPROTO_UDP, 0, 6),
243 BPF_JUMP(BPF_JMP|BPF_JSET|BPF_K, 0x1fff, 4, 0),
245 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, 68, 0, 1),
246 BPF_STMT(BPF_RET|BPF_K, 0xffffffff), BPF_STMT(BPF_RET|BPF_K, 0),