diff options
Diffstat (limited to 'include/linux/bpf.h')
| -rw-r--r-- | include/linux/bpf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 59631dd0777c..4fb3aa2dc975 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
| @@ -36,6 +36,7 @@ struct bpf_map_ops { | |||
| 36 | void (*map_free)(struct bpf_map *map); | 36 | void (*map_free)(struct bpf_map *map); |
| 37 | int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); | 37 | int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); |
| 38 | void (*map_release_uref)(struct bpf_map *map); | 38 | void (*map_release_uref)(struct bpf_map *map); |
| 39 | void *(*map_lookup_elem_sys_only)(struct bpf_map *map, void *key); | ||
| 39 | 40 | ||
| 40 | /* funcs callable from userspace and from eBPF programs */ | 41 | /* funcs callable from userspace and from eBPF programs */ |
| 41 | void *(*map_lookup_elem)(struct bpf_map *map, void *key); | 42 | void *(*map_lookup_elem)(struct bpf_map *map, void *key); |
