diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-12-25 10:43:42 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-12-29 22:11:01 -0500 |
commit | 60c46db80b0b5def37bd306cf526da0b491a1454 (patch) | |
tree | 2ab4519c3e77bd1ded545f9216413778620da10e | |
parent | a8a8fdff968c19a05331b032cf395b5cf0dbbd84 (diff) | |
download | musl-60c46db80b0b5def37bd306cf526da0b491a1454.tar.gz musl-60c46db80b0b5def37bd306cf526da0b491a1454.tar.bz2 musl-60c46db80b0b5def37bd306cf526da0b491a1454.tar.xz musl-60c46db80b0b5def37bd306cf526da0b491a1454.zip |
update tcp_info struct to linux v4.9
export tcp data delivery rate in tcp_info struct.
see linux commit eb8329e0a04db0061f714f033b4454326ba147f4
-rw-r--r-- | include/netinet/tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index b9b8a7fa..1339fcc3 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 |