projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samples/bpf: add map_flags to bpf loader
[linux-2.6-block.git]
/
samples
/
bpf
/
bpf_helpers.h
diff --git
a/samples/bpf/bpf_helpers.h
b/samples/bpf/bpf_helpers.h
index 811bcca0f29dafe553beefef6303f16a9dd8b71b..9363500131a777f98cd7016a35b9cf9858dbf9a6 100644
(file)
--- a/
samples/bpf/bpf_helpers.h
+++ b/
samples/bpf/bpf_helpers.h
@@
-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) =