projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bdbd02
)
bpf: add tools lib/include support sk_msg_md size field
author
John Fastabend
<john.fastabend@gmail.com>
Sun, 16 Dec 2018 23:47:05 +0000
(15:47 -0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Tue, 18 Dec 2018 23:27:23 +0000
(
00:27
+0100)
Add the size field to sk_msg_md for tools.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/include/uapi/linux/bpf.h
patch
|
blob
|
history
diff --git
a/tools/include/uapi/linux/bpf.h
b/tools/include/uapi/linux/bpf.h
index
1d324c2
..
91c4388
100644
(file)
--- a/
tools/include/uapi/linux/bpf.h
+++ b/
tools/include/uapi/linux/bpf.h
@@
-2665,6
+2665,7
@@
struct sk_msg_md {
__u32 local_ip6[4]; /* Stored in network byte order */
__u32 remote_port; /* Stored in network byte order */
__u32 local_port; /* stored in host byte order */
+ __u32 size; /* Total size of sk_msg */
};
struct sk_reuseport_md {