about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-12-22 12:02:52 +0000
committerRich Felker <dalias@aerifal.cx>2019-12-30 18:14:08 -0500
commit5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2 (patch)
tree379c42e17833380f2f88b7dcda883659132d0a32 /include
parent5675aaa5595619135baf33923de52a44307af9fb (diff)
downloadmusl-5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2.tar.gz
musl-5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2.tar.xz
musl-5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2.zip
netinet/tcp.h: add new tcp_info fields from linux v5.4
tcpi_rcv_ooopack for tracking connection quality:

  linux commit f9af2dbbfe01def62765a58af7fbc488351893c3
  tcp: Add TCP_INFO counter for packets received out-of-order

tcpi_snd_wnd peer window size for diagnosing tcp performance problems:

  linux commit 8f7baad7f03543451af27f5380fc816b008aa1f2
  tcp: Add snd_wnd to TCP_INFO
Diffstat (limited to 'include')
-rw-r--r--include/netinet/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 69de9d5a..44a007aa 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -234,6 +234,8 @@ struct tcp_info {
 	uint64_t tcpi_bytes_retrans;
 	uint32_t tcpi_dsack_dups;
 	uint32_t tcpi_reord_seen;
+	uint32_t tcpi_rcv_ooopack;
+	uint32_t tcpi_snd_wnd;
 };
 
 #define TCP_MD5SIG_MAXKEYLEN    80