summaryrefslogtreecommitdiffstats
path: root/src/shared/bpf-program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/bpf-program.h')
-rw-r--r--src/shared/bpf-program.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/bpf-program.h b/src/shared/bpf-program.h
index b640fb9d9f..0e0b666df6 100644
--- a/src/shared/bpf-program.h
+++ b/src/shared/bpf-program.h
@@ -54,7 +54,8 @@ int bpf_program_deserialize_attachment_set(const char *v, FDSet *fds, Set **bpfs
extern const struct hash_ops bpf_program_hash_ops;
-int bpf_map_new(enum bpf_map_type type, size_t key_size, size_t value_size, size_t max_entries, uint32_t flags);
+int bpf_map_new(const char *name, enum bpf_map_type type, size_t key_size, size_t value_size,
+ size_t max_entries, uint32_t flags);
int bpf_map_update_element(int fd, const void *key, void *value);
int bpf_map_lookup_element(int fd, const void *key, void *value);