Skip to content

Commit 584e468

Browse files
jrfastabborkmann
authored andcommitted
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>
1 parent 3bdbd02 commit 584e468

File tree

1 file changed

+1
-0
lines changed
  • tools/include/uapi/linux

1 file changed

+1
-0
lines changed

tools/include/uapi/linux/bpf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,6 +2665,7 @@ struct sk_msg_md {
26652665
__u32 local_ip6[4]; /* Stored in network byte order */
26662666
__u32 remote_port; /* Stored in network byte order */
26672667
__u32 local_port; /* stored in host byte order */
2668+
__u32 size; /* Total size of sk_msg */
26682669
};
26692670

26702671
struct sk_reuseport_md {

0 commit comments

Comments
 (0)