]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update bpf_create_map type declare
authorY7n05h <Y7n05h@protonmail.com>
Thu, 21 Apr 2022 11:18:52 +0000 (19:18 +0800)
committerY7n05h <Y7n05h@protonmail.com>
Fri, 22 Apr 2022 18:32:29 +0000 (02:32 +0800)
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
Co-authored-by: Remi Gacogne <github@coredump.fr>
ext/libbpf/libbpf.h

index 8002b7279a51179311c6cbaf7b6176b5932168c0..2fc728190966e1277ea3328305fb2cd2b10d2e0d 100644 (file)
@@ -9,7 +9,7 @@ extern "C" {
 struct bpf_insn;
 
 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
-                  int max_entries);
+                   int max_entries, int map_flags);
 int bpf_update_elem(int fd, void *key, void *value, unsigned long long flags);
 int bpf_lookup_elem(int fd, void *key, void *value);
 int bpf_delete_elem(int fd, void *key);