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:
4a142db
)
add pacing rate information to the tcp_info struct in tcp.h
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 20 Jul 2014 14:09:33 +0000
(16:09 +0200)
committer
Szabolcs Nagy
<nsz@port70.net>
Sun, 20 Jul 2014 16:45:43 +0000
(18:45 +0200)
used by monitoring applications such as ss from iproute2
introduced in linux 3.15 commit
977cb0ecf82eb6d15562573c31edebf90db35163
include/netinet/tcp.h
patch
|
blob
|
history
diff --git
a/include/netinet/tcp.h
b/include/netinet/tcp.h
index d3db0421b85876431b8823923e601e9784eee86d..52358c75bc359f7f556116a67ebbc907a89e1d4a 100644
(file)
--- 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