summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-07-20 16:09:33 +0200
committerSzabolcs Nagy <nsz@port70.net>2014-07-20 18:45:43 +0200
commit6119fa32698b6e1f79564c2a30d81b179f48c156 (patch)
tree28f3bd817d776489af073c6dc109622531715dea /include
parent4a142db74f128011e7afafd19607234243f908ff (diff)
downloadmusl-6119fa32698b6e1f79564c2a30d81b179f48c156.tar.gz
musl-6119fa32698b6e1f79564c2a30d81b179f48c156.tar.bz2
musl-6119fa32698b6e1f79564c2a30d81b179f48c156.tar.xz
musl-6119fa32698b6e1f79564c2a30d81b179f48c156.zip
add pacing rate information to the tcp_info struct in tcp.h
used by monitoring applications such as ss from iproute2 introduced in linux 3.15 commit 977cb0ecf82eb6d15562573c31edebf90db35163
Diffstat (limited to 'include')
-rw-r--r--include/netinet/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index d3db0421..52358c75 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -162,6 +162,8 @@ struct tcp_info
uint32_t tcpi_rcv_rtt;
uint32_t tcpi_rcv_space;
uint32_t tcpi_total_retrans;
+ uint64_t tcpi_pacing_rate;
+ uint64_t tcpi_max_pacing_rate;
};
#define TCP_MD5SIG_MAXKEYLEN 80