summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-05-26 22:07:09 +0200
committerRich Felker <dalias@aerifal.cx>2016-06-09 13:40:20 -0400
commit349877755d283533c19c86244d17801574a60b51 (patch)
treed9b73c3348ccd71cc6bca9a86283236ccd4ebda2
parent1d561c2fa4eaf321022330eca0f6598feda62888 (diff)
downloadmusl-349877755d283533c19c86244d17801574a60b51.tar.gz
add new tcp_info fields from linux v4.6
new fields and associated linux commit: tcpi_notsent_bytes, tcpi_min_rtt cd9b266095f422267bddbec88f9098b48ea548fc tcpi_data_segs_in, tcpi_data_segs_out a44d6eacdaf56f74fad699af7f4925a5f5ac0e7f
-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 244a21ef..d6f41cab 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -184,6 +184,10 @@ struct tcp_info
uint64_t tcpi_bytes_received;
uint32_t tcpi_segs_out;
uint32_t tcpi_segs_in;
+ uint32_t tcpi_notsent_bytes;
+ uint32_t tcpi_min_rtt;
+ uint32_t tcpi_data_segs_in;
+ uint32_t tcpi_data_segs_out;
};
#define TCP_MD5SIG_MAXKEYLEN 80