]> granicus.if.org Git - musl/commitdiff
add new tcp_info fields from linux v4.6
authorSzabolcs Nagy <nsz@port70.net>
Thu, 26 May 2016 20:07:09 +0000 (22:07 +0200)
committerRich Felker <dalias@aerifal.cx>
Thu, 9 Jun 2016 17:40:20 +0000 (13:40 -0400)
new fields and associated linux commit:
tcpi_notsent_bytes, tcpi_min_rtt cd9b266095f422267bddbec88f9098b48ea548fc
tcpi_data_segs_in, tcpi_data_segs_out a44d6eacdaf56f74fad699af7f4925a5f5ac0e7f

include/netinet/tcp.h

index 244a21ef7b460bd765adf96604219bb67198bf6c..d6f41cab2535361250c913be4906a6af8cfeb90a 100644 (file)
@@ -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