author | Szabolcs Nagy <nsz@port70.net> | 2018年11月10日 20:04:50 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019年03月13日 12:30:12 -0400 |
commit | b47723ab3b61d7840b08c56375e35546f7b4a8a9 (patch) | |
tree | 68b29d034812efd0fef3efa9aa2800330a19f483 /include/netinet | |
parent | df4b017bcdf626a1ef8bbd8e9724d336c788fb0d (diff) | |
download | musl-b47723ab3b61d7840b08c56375e35546f7b4a8a9.tar.gz |
-rw-r--r-- | include/netinet/tcp.h | 8 |
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h index 584af2f5..2eac793e 100644 --- a/include/netinet/tcp.h +++ b/include/netinet/tcp.h @@ -72,6 +72,10 @@ enum { TCP_NLA_SND_SSTHRESH, TCP_NLA_DELIVERED, TCP_NLA_DELIVERED_CE, + TCP_NLA_BYTES_SENT, + TCP_NLA_BYTES_RETRANS, + TCP_NLA_DSACK_DUPS, + TCP_NLA_REORD_SEEN, }; #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) @@ -225,6 +229,10 @@ struct tcp_info { uint64_t tcpi_sndbuf_limited; uint32_t tcpi_delivered; uint32_t tcpi_delivered_ce; + uint64_t tcpi_bytes_sent; + uint64_t tcpi_bytes_retrans; + uint32_t tcpi_dsack_dups; + uint32_t tcpi_reord_seen; }; #define TCP_MD5SIG_MAXKEYLEN 80 |