From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: [PATCH 3/3] update tcp_info struct to linux v4.9
Date: Sun, 25 Dec 2016 10:43:42 +0100 [thread overview]
Message-ID: <e89f9970190e131a6bcf946158df133f202d0b2d.1482583912.git.nsz@port70.net> (raw)
In-Reply-To: <cover.1482583912.git.nsz@port70.net>
export tcp data delivery rate in tcp_info struct.
see linux commit eb8329e0a04db0061f714f033b4454326ba147f4
---
include/netinet/tcp.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index b9b8a7f..1339fcc 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -154,6 +154,7 @@ struct tcp_info {
uint8_t tcpi_backoff;
uint8_t tcpi_options;
uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4;
+ uint8_t tcpi_delivery_rate_app_limited : 1;
uint32_t tcpi_rto;
uint32_t tcpi_ato;
uint32_t tcpi_snd_mss;
@@ -188,6 +189,7 @@ struct tcp_info {
uint32_t tcpi_min_rtt;
uint32_t tcpi_data_segs_in;
uint32_t tcpi_data_segs_out;
+ uint64_t tcpi_delivery_rate;
};
#define TCP_MD5SIG_MAXKEYLEN 80
--
2.10.2
prev parent reply other threads:[~2016-12-25 9:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-25 9:40 [PATCH 0/3] update " Szabolcs Nagy
2016-12-25 9:41 ` [PATCH 1/3] add pkey_{mprotect,alloc,free} syscalls from " Szabolcs Nagy
2016-12-25 9:42 ` [PATCH 2/3] add MS_NOREMOTELOCK mount flag " Szabolcs Nagy
2016-12-25 9:43 ` Szabolcs Nagy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e89f9970190e131a6bcf946158df133f202d0b2d.1482583912.git.nsz@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).