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.
This commit is contained in:
Szabolcs Nagy 2021-05-26 16:01:38 +00:00 committed by Rich Felker
parent bc89c31112
commit 1ee8109ea0
1 changed files with 4 additions and 0 deletions

View File

@ -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