/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/ |
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 …]
|
D | libbpf.c | 380 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len, in bpf_prog_compute_tag() 405 struct bpf_insn prog[prog_len / 8]; in bpf_prog_compute_tag() 475 const struct bpf_insn *insns, int prog_len, in bpf_prog_load() 492 attr.insn_cnt = prog_len / sizeof(struct bpf_insn); in bpf_prog_load()
|
/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/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 …
|
D | pcap.h | 523 PCAP_API u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); 525 PCAP_API int bpf_validate(const struct bpf_insn *f, int len); 526 PCAP_API char *bpf_image(const struct bpf_insn *, int);
|
/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_sock_addr.c | 520 const struct bpf_insn *insns, size_t insns_cnt) in load_insns() 571 struct bpf_insn insns[] = { in bind4_prog_load() 618 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind4_prog_load() 636 struct bpf_insn insns[] = { in bind6_prog_load() 684 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in bind6_prog_load() 719 struct bpf_insn insns[] = { in sendmsg_deny_prog_load() 724 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in sendmsg_deny_prog_load() 742 struct bpf_insn insns[] = { in sendmsg4_rw_asm_prog_load() 776 return load_insns(test, insns, sizeof(insns) / sizeof(struct bpf_insn)); in sendmsg4_rw_asm_prog_load() 800 struct bpf_insn insns[] = { in sendmsg6_rw_dst_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_sock.c | 27 struct bpf_insn insns[MAX_INSNS]; 314 static size_t probe_prog_length(const struct bpf_insn *fp) in probe_prog_length() 324 static int load_sock_prog(const struct bpf_insn *prog, in load_sock_prog()
|
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_align.c | 33 struct bpf_insn insns[MAX_INSNS]; 598 static int probe_filter_length(const struct bpf_insn *fp) in probe_filter_length() 612 struct bpf_insn *prog = test->insns; in do_test_single()
|
/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()
|
D | bpf_dump.c | 34 const struct bpf_insn *insn; in bpf_dump()
|
D | pcap-enet.c | 58 register struct bpf_insn *fcode = fp->bf_insns; in readloop()
|
D | optimize.c | 320 struct bpf_insn *fstart; 321 struct bpf_insn *ftail; 2128 struct bpf_insn *dst; in convert_code_r() 2314 struct bpf_insn * 2319 struct bpf_insn *fp; in icode_to_fcode() 2330 fp = (struct bpf_insn *)malloc(sizeof(*fp) * n); in icode_to_fcode() 2375 p->fcode.bf_insns = (struct bpf_insn *)malloc(prog_size); in install_bpf_program()
|
/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()
|
/external/iptables/utils/ |
D | nfbpf_compile.c | 18 struct bpf_insn *ins; in main()
|
/external/elfutils/lib/ |
D | bpf.h | 77 struct bpf_insn struct
|
/external/syzkaller/sys/linux/ |
D | bpf.txt | 98 raw array[bpf_insn] 103 body array[bpf_insn] 107 bpf_insn [
|