summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-06 02:00:41 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-06 02:00:41 +0000
commitb3a9b1da3837ba2636e621467bb56aad942caf5c (patch)
treed4f6e42a05e10673e0089528ccc6ed5edb6917c4 /pkg/tcpip/tcpip.go
parent978eceb6badbbe9e4dea10483920f5c61c4469b0 (diff)
parentf3d95607036b8a502c65aa7b3e8145227274dbbc (diff)
Merge release-20200127.0-84-gf3d9560 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index 0fa141d58..d29d9a704 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -1124,6 +1124,10 @@ type ReadErrors struct {
// InvalidEndpointState is the number of times we found the endpoint state
// to be unexpected.
InvalidEndpointState StatCounter
+
+ // NotConnected is the number of times we tried to read but found that the
+ // endpoint was not connected.
+ NotConnected StatCounter
}
// WriteErrors collects packet write errors from an endpoint write call.