summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2018-12-16 15:47:05 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-12-19 00:27:23 +0100
commit584e46813e689ff1a348343b73122c43d81d0ef7 (patch)
tree461ee01613959f36cea7b5d2211027d96dd2d064 /tools
parent3bdbd0228e7555ec745e08469b98e5a0966409d6 (diff)
downloadlinux-584e46813e689ff1a348343b73122c43d81d0ef7.tar.bz2
bpf: add tools lib/include support sk_msg_md size field
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/include/uapi/linux/bpf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 1d324c2cbca2..91c43884f295 100644
--- 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 {