samples/bpf: add map_flags to bpf loader
[linux-2.6-block.git] / samples / bpf / bpf_helpers.h
index 811bcca0f29dafe553beefef6303f16a9dd8b71b..9363500131a777f98cd7016a35b9cf9858dbf9a6 100644 (file)
@@ -61,6 +61,7 @@ struct bpf_map_def {
        unsigned int key_size;
        unsigned int value_size;
        unsigned int max_entries;
+       unsigned int map_flags;
 };
 
 static int (*bpf_skb_store_bytes)(void *ctx, int off, void *from, int len, int flags) =