Home
last modified time | relevance | path

Searched refs:BPF_JMP_IMM (Results 1 – 7 of 7) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c118 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0x34, len - i - 2); in bpf_fill_ld_abs_vlan_push_pop()
125 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 2); in bpf_fill_ld_abs_vlan_push_pop()
131 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0x34, len - i - 2); in bpf_fill_ld_abs_vlan_push_pop()
136 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 2); in bpf_fill_ld_abs_vlan_push_pop()
155 insn[i] = BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 10, len - i - 2); in bpf_fill_jump_around_ld_abs()
516 BPF_JMP_IMM(BPF_JNE, BPF_REG_2, 0, 1),
551 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
552 BPF_JMP_IMM(BPF_JA, 0, 0, 0),
561 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
570 BPF_JMP_IMM(BPF_JA, 0, 0, -2),
[all …]
Dtest_sock_addr.c577 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, AF_INET, 16), in bind4_prog_load()
582 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, SOCK_DGRAM, 1), in bind4_prog_load()
584 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, SOCK_STREAM, 12), in bind4_prog_load()
589 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[0], 10), in bind4_prog_load()
594 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr16[0], 8), in bind4_prog_load()
642 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, AF_INET6, 18), in bind6_prog_load()
647 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip6.s6_addr[4], 16), in bind6_prog_load()
652 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip6.s6_addr16[2], 14), in bind6_prog_load()
748 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, AF_INET, 8), in sendmsg4_rw_asm_prog_load()
753 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, SOCK_DGRAM, 6), in sendmsg4_rw_asm_prog_load()
[all …]
Dtest_sock.c234 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0x01000000, 4),
237 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0x2001, 2),
263 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0x0100007F, 4),
266 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0x1002, 2),
Dtest_align.c454 BPF_JMP_IMM(BPF_JSGE, BPF_REG_5, 0, 1),
506 BPF_JMP_IMM(BPF_JSGE, BPF_REG_6, 0, 1),
/external/iproute2/include/
Dbpf_util.h219 #define BPF_JMP_IMM(OP, DST, IMM, OFF) \ macro
/external/bcc/src/cc/
Dlibbpf.h258 #define BPF_JMP_IMM(OP, DST, IMM, OFF) \ macro
/external/bcc/src/cc/includes/
Dlibbpf.h258 #define BPF_JMP_IMM(OP, DST, IMM, OFF) \ macro