projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a8fdf
)
update tcp_info struct to linux v4.9
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 25 Dec 2016 09:43:42 +0000
(10:43 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 30 Dec 2016 03:11:01 +0000
(22:11 -0500)
export tcp data delivery rate in tcp_info struct.
see linux commit
eb8329e0a04db0061f714f033b4454326ba147f4
include/netinet/tcp.h
patch
|
blob
|
history
diff --git
a/include/netinet/tcp.h
b/include/netinet/tcp.h
index b9b8a7fa4a08bf940dc8de15facec7547f76f3fb..1339fcc3b4774108b1711d1c9c5186d85ef8e267 100644
(file)
--- 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