This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] sysdeps/gnu/netinet/tcp.h: Sync struct tcp_info to Linux 4.6


---

Notes:
    FSF copyright assignment status: not assigned,
    but also not a significant change aka. copy/paste.

 ChangeLog                 |  4 ++++
 sysdeps/gnu/netinet/tcp.h | 12 ++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ce605c1..3d93672 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-05-17  AsbjÃrn Sloth TÃnnesen  <asbjorn@asbjorn.st>
+
+	* sysdeps/gnu/netinet/tcp.h: Sync struct tcp_info to Linux 4.6
+
 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #20094]
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 3918bca..358049d 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -248,6 +248,18 @@ struct tcp_info
   u_int32_t	tcpi_rcv_space;
 
   u_int32_t	tcpi_total_retrans;
+
+  u_int64_t	tcpi_pacing_rate;
+  u_int64_t	tcpi_max_pacing_rate;
+  u_int64_t	tcpi_bytes_acked;    /* RFC4898 tcpEStatsAppHCThruOctetsAcked */
+  u_int64_t	tcpi_bytes_received; /* RFC4898 tcpEStatsAppHCThruOctetsReceived */
+  u_int32_t	tcpi_segs_out;	     /* RFC4898 tcpEStatsPerfSegsOut */
+  u_int32_t	tcpi_segs_in;        /* RFC4898 tcpEStatsPerfSegsIn */
+
+  u_int32_t	tcpi_notsent_bytes;
+  u_int32_t	tcpi_min_rtt;
+  u_int32_t	tcpi_data_segs_in;   /* RFC4898 tcpEStatsDataSegsIn */
+  u_int32_t	tcpi_data_segs_out;  /* RFC4898 tcpEStatsDataSegsOut */
 };
 
 
-- 
2.8.0.rc3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]