From 5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 22 Dec 2019 12:02:52 +0000 Subject: 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 --- include/netinet/tcp.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1