From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10061 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 6/7] add new tcp_info fields from linux v4.6 Date: Thu, 26 May 2016 22:07:09 +0200 Message-ID: <31efabea6ee79add5f04facee767a4240967e426.1464291783.git.nsz@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1464293249 7736 80.91.229.3 (26 May 2016 20:07:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 May 2016 20:07:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10074-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 26 22:07:28 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1b61Z1-0006zH-Ut for gllmg-musl@m.gmane.org; Thu, 26 May 2016 22:07:28 +0200 Original-Received: (qmail 20134 invoked by uid 550); 26 May 2016 20:07:25 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 20005 invoked from network); 26 May 2016 20:07:20 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:10061 Archived-At: 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 244a21e..d6f41ca 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 -- 2.8.1