aboutsummaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021-05-26 16:01:38 +0000
committerRich Felker <dalias@aerifal.cx>2022-03-08 17:19:56 -0500
commit1ee8109ea01c4ac79e7932a533fead96309f80f3 (patch)
tree0b91bf952bcb0a5e3f29f5feb1cd7fffb7860e05 /include/netinet
parentbc89c311120111de330c99335d3139ff55fae1fe (diff)
downloadmusl-1ee8109ea01c4ac79e7932a533fead96309f80f3.zip
musl-1ee8109ea01c4ac79e7932a533fead96309f80f3.tar.gz
musl-1ee8109ea01c4ac79e7932a533fead96309f80f3.tar.bz2
netinet/tcp.h: add tcp_zerocopy_receive fields from linux v5.12
see linux commit 7eeba1706eba6def15f6cb2fc7b3c3b9a2651edc tcp: Add receive timestamp support for receive zerocopy. linux commit 3c5a2fd042d0bfac71a2dfb99515723d318df47b tcp: Sanitize CMSG flags and reserved args in tcp_zerocopy_receive.
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 08ed7cc..fad1d84 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -294,6 +294,10 @@ struct tcp_zerocopy_receive {
uint64_t copybuf_address;
int32_t copybuf_len;
uint32_t flags;
+ uint64_t msg_control;
+ uint64_t msg_controllen;
+ uint32_t msg_flags;
+ uint32_t reserved;
};
#endif