/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_lib.h | 63 struct sock_fprog bpf_prog; in pair_udp_setfilter() local 65 bpf_prog.filter = bpf_filter; in pair_udp_setfilter() 66 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in pair_udp_setfilter() 68 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &bpf_prog, in pair_udp_setfilter() 69 sizeof(bpf_prog))) { in pair_udp_setfilter()
|
D | psock_fanout.c | 104 struct sock_fprog bpf_prog; in sock_fanout_set_cbpf() local 106 bpf_prog.filter = bpf_filter; in sock_fanout_set_cbpf() 107 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in sock_fanout_set_cbpf() 109 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &bpf_prog, in sock_fanout_set_cbpf() 110 sizeof(bpf_prog))) { in sock_fanout_set_cbpf()
|
/external/iptables/include/linux/netfilter/ |
D | xt_bpf.h | 11 struct bpf_prog; 18 struct bpf_prog *filter __attribute__((aligned(8))); 37 struct bpf_prog *filter __attribute__((aligned(8)));
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_bpf.h | 12 struct bpf_prog; 19 struct bpf_prog *filter __attribute__((aligned(8))); 39 struct bpf_prog *filter __attribute__((aligned(8)));
|
/external/usrsctp/fuzzer/ |
D | pcap2corpus.c | 51 struct bpf_program bpf_prog; member 120 if (pcap_offline_filter(&args->bpf_prog, pkthdr, bytes_in) == 0) { in packet_handler() 239 if (pcap_compile(pcap_reader, &args.bpf_prog, filter, 0, PCAP_NETMASK_UNKNOWN) < 0) { in main()
|
/external/bpftool/src/skeleton/ |
D | pid_iter.bpf.c | 29 return BPF_CORE_READ((struct bpf_prog *)ent, aux, id); in get_obj_id()
|
/external/bpftool/include/uapi/linux/ |
D | bpf.h | 5690 } bpf_prog; member 5703 } bpf_prog; member
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 5615 } bpf_prog; member 5628 } bpf_prog; member
|
/external/libbpf/include/uapi/linux/ |
D | bpf.h | 5690 } bpf_prog; member 5703 } bpf_prog; member
|
/external/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 7432 struct bpf_prog; 7503 struct bpf_prog *prog; 11758 struct bpf_prog *progs[2]; 12888 struct bpf_prog *prog; 13022 struct bpf_prog *xdp_prog; 14182 struct bpf_prog *prog; 24992 struct bpf_prog *prog; 25106 struct bpf_prog { struct 25798 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 25904 struct bpf_prog *dst_prog; [all …]
|
/external/bcc/libbpf-tools/powerpc/ |
D | vmlinux_510.h | 4290 struct bpf_prog; 4362 struct bpf_prog *prog; 7552 struct bpf_prog *prog; 10047 struct bpf_prog *progs[2]; 10600 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 10737 struct bpf_prog *dst_prog; 10751 struct bpf_prog **func; 10759 struct bpf_prog *prog; 10792 struct bpf_prog { struct 10911 struct bpf_prog *prog; [all …]
|
D | vmlinux.h | 4290 struct bpf_prog; 4362 struct bpf_prog *prog; 7552 struct bpf_prog *prog; 10047 struct bpf_prog *progs[2]; 10600 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 10737 struct bpf_prog *dst_prog; 10751 struct bpf_prog **func; 10759 struct bpf_prog *prog; 10792 struct bpf_prog { struct 10911 struct bpf_prog *prog; [all …]
|
/external/bcc/libbpf-tools/arm64/ |
D | vmlinux.h | 1625 struct bpf_prog; 1695 struct bpf_prog *prog; 6444 struct bpf_prog *prog; 9038 struct bpf_prog *progs[2]; 9575 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 9712 struct bpf_prog *dst_prog; 9726 struct bpf_prog **func; 9734 struct bpf_prog *prog; 9767 struct bpf_prog { struct 9878 struct bpf_prog *prog; [all …]
|
D | vmlinux_510.h | 1625 struct bpf_prog; 1695 struct bpf_prog *prog; 6444 struct bpf_prog *prog; 9038 struct bpf_prog *progs[2]; 9575 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 9712 struct bpf_prog *dst_prog; 9726 struct bpf_prog **func; 9734 struct bpf_prog *prog; 9767 struct bpf_prog { struct 9878 struct bpf_prog *prog; [all …]
|
/external/bcc/libbpf-tools/x86/ |
D | vmlinux.h | 6886 struct bpf_prog; 6956 struct bpf_prog *prog; 9160 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 9270 struct bpf_prog *linked_prog; 9280 struct bpf_prog **func; 9288 struct bpf_prog *prog; 9381 struct bpf_prog { struct 9497 int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *); 9501 const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); 9502 …bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_a… [all …]
|
D | vmlinux_505.h | 6886 struct bpf_prog; 6956 struct bpf_prog *prog; 9160 void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); 9270 struct bpf_prog *linked_prog; 9280 struct bpf_prog **func; 9288 struct bpf_prog *prog; 9381 struct bpf_prog { struct 9497 int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *); 9501 const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); 9502 …bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_a… [all …]
|
/external/bcc/docs/ |
D | reference_guide.md | 1799 The ```fn``` must be the type of ```BPF.function``` and the bpf_prog type needs to be ```BPF_PROG_T… 1803 …re copied to the ```recv-q``` of ```fn.sock``` after being processed by bpf_prog. Try to recv pack…
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v0.abi | 9211 …<class-decl name="bpf_prog" size-in-bits="448" is-struct="yes" visibility="default" filepath="incl… 21611 …<class-decl name="bpf_prog" is-struct="yes" visibility="default" is-declaration-only="yes" id="fac… 55205 …<class-decl name="bpf_prog" size-in-bits="448" is-struct="yes" visibility="default" filepath="incl… 70622 …<class-decl name="bpf_prog" is-struct="yes" visibility="default" is-declaration-only="yes" id="fac…
|
D | test-PR27569-v1.abi | 9211 …<class-decl name="bpf_prog" size-in-bits="448" is-struct="yes" visibility="default" filepath="incl… 21619 …<class-decl name="bpf_prog" is-struct="yes" visibility="default" is-declaration-only="yes" id="fac… 55234 …<class-decl name="bpf_prog" size-in-bits="448" is-struct="yes" visibility="default" filepath="incl… 70636 …<class-decl name="bpf_prog" is-struct="yes" visibility="default" is-declaration-only="yes" id="fac…
|