diff options
| author | John Fastabend <john.fastabend@gmail.com> | 2018-12-16 18:47:05 -0500 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-12-18 18:27:23 -0500 |
| commit | 584e46813e689ff1a348343b73122c43d81d0ef7 (patch) | |
| tree | 461ee01613959f36cea7b5d2211027d96dd2d064 /tools/include | |
| parent | 3bdbd0228e7555ec745e08469b98e5a0966409d6 (diff) | |
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/include')
| -rw-r--r-- | tools/include/uapi/linux/bpf.h | 1 |
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 { | |||
| 2665 | __u32 local_ip6[4]; /* Stored in network byte order */ | 2665 | __u32 local_ip6[4]; /* Stored in network byte order */ |
| 2666 | __u32 remote_port; /* Stored in network byte order */ | 2666 | __u32 remote_port; /* Stored in network byte order */ |
| 2667 | __u32 local_port; /* stored in host byte order */ | 2667 | __u32 local_port; /* stored in host byte order */ |
| 2668 | __u32 size; /* Total size of sk_msg */ | ||
| 2668 | }; | 2669 | }; |
| 2669 | 2670 | ||
| 2670 | struct sk_reuseport_md { | 2671 | struct sk_reuseport_md { |
