/external/iproute2/include/ |
D | bpf_util.h | 71 ((struct bpf_insn) { \ 79 ((struct bpf_insn) { \ 89 ((struct bpf_insn) { \ 97 ((struct bpf_insn) { \ 107 ((struct bpf_insn) { \ 115 ((struct bpf_insn) { \ 125 ((struct bpf_insn) { \ 133 ((struct bpf_insn) { \ 145 ((struct bpf_insn) { \ 151 ((struct bpf_insn) { \ [all …]
|
/external/bcc/src/cc/includes/ |
D | libbpf.h | 60 const struct bpf_insn *insns, int insn_len, 112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len, 128 ((struct bpf_insn) { \ 136 ((struct bpf_insn) { \ 146 ((struct bpf_insn) { \ 154 ((struct bpf_insn) { \ 164 ((struct bpf_insn) { \ 174 ((struct bpf_insn) { \ 186 ((struct bpf_insn) { \ 192 ((struct bpf_insn) { \ [all …]
|
/external/bcc/src/cc/ |
D | libbpf.h | 60 const struct bpf_insn *insns, int insn_len, 112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len, 128 ((struct bpf_insn) { \ 136 ((struct bpf_insn) { \ 146 ((struct bpf_insn) { \ 154 ((struct bpf_insn) { \ 164 ((struct bpf_insn) { \ 174 ((struct bpf_insn) { \ 186 ((struct bpf_insn) { \ 192 ((struct bpf_insn) { \ [all …]
|
/external/ltp/include/lapi/ |
D | bpf.h | 70 struct bpf_insn { struct 445 ((struct bpf_insn) { \ 453 ((struct bpf_insn) { \ 461 ((struct bpf_insn) { \ 472 ((struct bpf_insn) { \ 478 ((struct bpf_insn) { \ 490 ((struct bpf_insn) { \ 498 ((struct bpf_insn) { \ 506 ((struct bpf_insn) { \ 514 ((struct bpf_insn) { \ [all …]
|
/external/libpcap/pcap/ |
D | bpf.h | 106 struct bpf_insn *bf_insns; 234 struct bpf_insn { struct 257 PCAP_API int bpf_validate(const struct bpf_insn *, int); argument 258 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); 259 extern u_int bpf_filter_with_aux_data(const struct bpf_insn *, const u_char *, u_int, u_int, const …
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | raw_tp_writable_test_run.c | 11 const struct bpf_insn trace_program[] = { in test_raw_tp_writable_test_run() 23 .insns_cnt = sizeof(trace_program) / sizeof(struct bpf_insn), in test_raw_tp_writable_test_run() 32 const struct bpf_insn skb_program[] = { in test_raw_tp_writable_test_run() 41 .insns_cnt = sizeof(skb_program) / sizeof(struct bpf_insn), in test_raw_tp_writable_test_run()
|
D | fexit_stress.c | 18 const struct bpf_insn trace_program[] = { in test_fexit_stress() 27 .insns_cnt = sizeof(trace_program) / sizeof(struct bpf_insn), in test_fexit_stress() 31 const struct bpf_insn skb_program[] = { in test_fexit_stress() 40 .insns_cnt = sizeof(skb_program) / sizeof(struct bpf_insn), in test_fexit_stress()
|
D | raw_tp_writable_reject_nbd_invalid.c | 12 const struct bpf_insn program[] = { in test_raw_tp_writable_reject_nbd_invalid() 25 .insns_cnt = sizeof(program) / sizeof(struct bpf_insn), in test_raw_tp_writable_reject_nbd_invalid()
|
/external/elfutils/libcpu/ |
D | bpf_disasm.c | 74 bswap_bpf_insn (struct bpf_insn *p) in bswap_bpf_insn() 103 while (start + sizeof(struct bpf_insn) <= end) in bpf_disasm() 105 struct bpf_insn i; in bpf_disasm() 109 memcpy(&i, start, sizeof(struct bpf_insn)); in bpf_disasm() 113 start += sizeof(struct bpf_insn); in bpf_disasm() 114 addr += sizeof(struct bpf_insn); in bpf_disasm() 115 jmp = addr + i.off * sizeof(struct bpf_insn); in bpf_disasm() 122 struct bpf_insn i2; in bpf_disasm() 125 if (start + sizeof(struct bpf_insn) > end) in bpf_disasm() 127 start -= sizeof(struct bpf_insn); in bpf_disasm() [all …]
|
/external/scapy/scapy/arch/ |
D | common.py | 26 class bpf_insn(Structure): class 37 ("bf_insns", POINTER(bpf_insn))] 66 bpf_insn_a = bpf_insn * size
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 68 struct bpf_insn insns[MAX_INSNS]; 69 struct bpf_insn *fill_insns; 139 struct bpf_insn *insn = self->fill_insns; in bpf_fill_ld_abs_vlan_push_pop() 182 struct bpf_insn *insn = self->fill_insns; in bpf_fill_jump_around_ld_abs() 204 struct bpf_insn *insn = self->fill_insns; in bpf_fill_rand_ld_dw() 211 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; in bpf_fill_rand_ld_dw() 232 struct bpf_insn *insn = self->fill_insns; in bpf_fill_scale1() 258 struct bpf_insn *insn = self->fill_insns; in bpf_fill_scale2() 357 static int probe_filter_length(const struct bpf_insn *fp) in probe_filter_length() 413 struct bpf_insn prog[] = { in create_prog_dummy_simple() [all …]
|
D | test_sock_addr.c | 642 const struct bpf_insn *insns, size_t insns_cnt) in load_insns() 693 struct bpf_insn insns[] = { in bind4_prog_load() 760 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind4_prog_load() 778 struct bpf_insn insns[] = { in bind6_prog_load() 826 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind6_prog_load() 863 struct bpf_insn insns[] = { in xmsg_ret_only_prog_load() 868 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in xmsg_ret_only_prog_load() 906 struct bpf_insn insns[] = { in sendmsg4_rw_asm_prog_load() 940 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in sendmsg4_rw_asm_prog_load() 952 struct bpf_insn insns[] = { in recvmsg4_rw_asm_prog_load() [all …]
|
D | test_tag.c | 25 static struct bpf_insn prog[BPF_MAXINSNS]; 42 struct bpf_insn tmp[] = { in bpf_gen_map_prog() 133 insns *= sizeof(struct bpf_insn); in tag_from_alg()
|
D | test_cgroup_storage.c | 18 struct bpf_insn prog[] = { in main() 38 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in main()
|
D | test_cgroup_attach.c | 54 struct bpf_insn prog[] = { in prog_load() 58 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load() 245 struct bpf_insn prog[] = { in prog_load_cnt() 272 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load_cnt()
|
D | test_verifier_log.c | 20 static const struct bpf_insn code_sample[] = { 54 attr.insn_cnt = (__u32)(sizeof(code_sample) / sizeof(struct bpf_insn)); in load()
|
D | test_sock.c | 29 struct bpf_insn insns[MAX_INSNS]; 318 static size_t probe_prog_length(const struct bpf_insn *fp) in probe_prog_length() 328 static int load_sock_prog(const struct bpf_insn *prog, in load_sock_prog()
|
/external/libpcap/ |
D | bpf_filter.c | 119 bpf_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, in bpf_filter_with_aux_data() 399 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in bpf_filter() 418 bpf_validate(const struct bpf_insn *f, int len) in bpf_validate() 421 const struct bpf_insn *p; in bpf_validate()
|
/external/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_prog01.c | 45 const struct bpf_insn PROG[] = { 63 static struct bpf_insn *prog;
|
D | bpf_prog03.c | 45 static struct bpf_insn *prog; in load_prog() 46 struct bpf_insn insn[] = { in load_prog()
|
D | bpf_prog02.c | 40 static struct bpf_insn *prog; in load_prog() 41 struct bpf_insn insn[] = { in load_prog()
|
/external/strace/tests-mx32/ |
D | bpf-obj_get_info_by_fd.c | 72 struct bpf_insn { struct 114 static struct bpf_insn socket_prog[] = { 354 struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); in main()
|
/external/strace/tests-m32/ |
D | bpf-obj_get_info_by_fd.c | 72 struct bpf_insn { struct 114 static struct bpf_insn socket_prog[] = { 354 struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); in main()
|
/external/strace/tests/ |
D | bpf-obj_get_info_by_fd.c | 72 struct bpf_insn { struct 114 static struct bpf_insn socket_prog[] = { 354 struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); in main()
|
/external/tcpdump/ |
D | bpf_dump.c | 35 struct bpf_insn *insn; in bpf_dump()
|