From: John Fastabend Date: Sun, 16 Dec 2018 23:47:05 +0000 (-0800) Subject: bpf: add tools lib/include support sk_msg_md size field X-Git-Tag: v5.15~7332^2~15^2~8^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=584e46813e689ff1a348343b73122c43d81d0ef7;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Daniel Borkmann --- diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 1d324c2..91c4388 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 {