diff options
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index a6964b75f070..a67daea731ab 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
@@ -260,6 +260,9 @@ struct bpf_prog_array { | |||
260 | 260 | ||
261 | struct bpf_prog_array __rcu *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); | 261 | struct bpf_prog_array __rcu *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); |
262 | void bpf_prog_array_free(struct bpf_prog_array __rcu *progs); | 262 | void bpf_prog_array_free(struct bpf_prog_array __rcu *progs); |
263 | int bpf_prog_array_length(struct bpf_prog_array __rcu *progs); | ||
264 | int bpf_prog_array_copy_to_user(struct bpf_prog_array __rcu *progs, | ||
265 | __u32 __user *prog_ids, u32 cnt); | ||
263 | 266 | ||
264 | #define BPF_PROG_RUN_ARRAY(array, ctx, func) \ | 267 | #define BPF_PROG_RUN_ARRAY(array, ctx, func) \ |
265 | ({ \ | 268 | ({ \ |