diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-21 23:57:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-21 23:57:21 +0000 |
commit | a09d5cf257f1423502428e08eb59a5315b8b9f94 (patch) | |
tree | 04f8667456efd6d496cbde30578272c8e029ba98 /pkg/tcpip/tcpip.go | |
parent | a4bc66abe77fb2f64e6944bf99705694da09148f (diff) | |
parent | 7e6fbc6afe797752efe066a8aa86f9eca973f3a4 (diff) |
Merge release-20200115.0-56-g7e6fbc6 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r-- | pkg/tcpip/tcpip.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index 3fc823a36..59c9b3fb0 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -938,9 +938,13 @@ type TCPStats struct { PassiveConnectionOpenings *StatCounter // CurrentEstablished is the number of TCP connections for which the - // current state is either ESTABLISHED or CLOSE-WAIT. + // current state is ESTABLISHED. CurrentEstablished *StatCounter + // CurrentConnected is the number of TCP connections that + // are in connected state. + CurrentConnected *StatCounter + // EstablishedResets is the number of times TCP connections have made // a direct transition to the CLOSED state from either the // ESTABLISHED state or the CLOSE-WAIT state. |