]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/bpf.h
netfilter: x_tables: add and use xt_check_entry_offsets
[karo-tx-linux.git] / include / linux / bpf.h
index 83d1926c61e4567b881bfbc26b75b802c428cbc3..67bc2da5d2336b7c7c77cb18069b514f2e4b1239 100644 (file)
@@ -165,12 +165,13 @@ void bpf_register_prog_type(struct bpf_prog_type_list *tl);
 void bpf_register_map_type(struct bpf_map_type_list *tl);
 
 struct bpf_prog *bpf_prog_get(u32 ufd);
+struct bpf_prog *bpf_prog_inc(struct bpf_prog *prog);
 void bpf_prog_put(struct bpf_prog *prog);
 void bpf_prog_put_rcu(struct bpf_prog *prog);
 
 struct bpf_map *bpf_map_get_with_uref(u32 ufd);
 struct bpf_map *__bpf_map_get(struct fd f);
-void bpf_map_inc(struct bpf_map *map, bool uref);
+struct bpf_map *bpf_map_inc(struct bpf_map *map, bool uref);
 void bpf_map_put_with_uref(struct bpf_map *map);
 void bpf_map_put(struct bpf_map *map);