Skip to content

Commit

Permalink
bpf: add tools lib/include support sk_msg_md size field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Fastabend authored and Daniel Borkmann committed Dec 18, 2018
1 parent 3bdbd02 commit 584e468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/include/uapi/linux/bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 584e468

Please sign in to comment.