add pacing rate information to the tcp_info struct in tcp.h
authorSzabolcs Nagy <nsz@port70.net>
Sun, 20 Jul 2014 14:09:33 +0000 (16:09 +0200)
committerSzabolcs 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

index d3db0421b85876431b8823923e601e9784eee86d..52358c75bc359f7f556116a67ebbc907a89e1d4a 100644 (file)
@@ -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