about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-07-13 19:59:41 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:57 -0400
commit616a8bf660d6c616aedf1e17adfb3de64f1ab9de (patch)
tree192b89be12d9617c1abcee554bf7f5fd098d6c5c /include
parenta6c302bec1d47903bfd455c0d8129cd618037672 (diff)
downloadmusl-616a8bf660d6c616aedf1e17adfb3de64f1ab9de.tar.gz
musl-616a8bf660d6c616aedf1e17adfb3de64f1ab9de.tar.xz
musl-616a8bf660d6c616aedf1e17adfb3de64f1ab9de.zip
netinet/tcp.h: update to linux v5.7
add TCP_NLA_BYTES_NOTSENT and new tcp_zerocopy_receive fields, see

  linux commit c8856c051454909e5059df4e81c77b9c366c5515
  tcp-zerocopy: Return inq along with tcp receive zerocopy.

  linux commit 33946518d493cdf10aedb4a483f1aa41948a3dab
  tcp-zerocopy: Return sk_err (if set) along with tcp receive zerocopy.

  linux commit e08ab0b377a1489760533424437c5f4be7f484a4
  tcp: add bytes not sent to SCM_TIMESTAMPING_OPT_STATS
Diffstat (limited to 'include')
-rw-r--r--include/netinet/tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 92550dcc..b7b997f5 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -79,6 +79,7 @@ enum {
 	TCP_NLA_REORD_SEEN,
 	TCP_NLA_SRTT,
 	TCP_NLA_TIMEOUT_REHASH,
+	TCP_NLA_BYTES_NOTSENT,
 };
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
@@ -284,6 +285,8 @@ struct tcp_zerocopy_receive {
 	uint64_t address;
 	uint32_t length;
 	uint32_t recv_skip_hint;
+	uint32_t inq;
+	int32_t err;
 };
 
 #endif