From patchwork Tue May 17 21:34:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= X-Patchwork-Id: 12325 Received: (qmail 61000 invoked by alias); 17 May 2016 21:36:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 60987 invoked by uid 89); 17 May 2016 21:36:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_20, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, URIBL_RED autolearn=ham version=3.3.2 spammy=H*r:sk:mail.as, Hx-spam-relays-external:sk:mail.as, H*RU:sk:mail.as, HX-HELO:sk:mail.as X-HELO: mail.asbjorn.biz From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= To: libc-alpha@sourceware.org Cc: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Subject: [PATCH] sysdeps/gnu/netinet/tcp.h: Sync struct tcp_info to Linux 4.6 Date: Tue, 17 May 2016 21:34:30 +0000 Message-Id: <1463520870-24031-1-git-send-email-asbjorn@asbjorn.st> MIME-Version: 1.0 --- 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 + + * sysdeps/gnu/netinet/tcp.h: Sync struct tcp_info to Linux 4.6 + 2016-05-17 Joseph Myers [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 */ };