diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-10 05:38:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-10 05:38:05 +0000 |
commit | 7c2f78ead662934ac0e92d4a3addaec7db6e3cbd (patch) | |
tree | beff92de88b459f50a2db57f5aeb6e5611afa756 /pkg/tcpip/tcpip.go | |
parent | e0f56fc1fb4d2ab698447350d709763c8c47e650 (diff) | |
parent | 5df3a8fedef7e54550d4c6b7172e25216600ee9f (diff) |
Merge release-20200622.1-89-g5df3a8fed (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r-- | pkg/tcpip/tcpip.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index 25534a10d..cf7291d09 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -782,7 +782,7 @@ type CongestionControlOption string // control algorithms. type AvailableCongestionControlOption string -// buffer moderation. +// ModerateReceiveBufferOption is used by buffer moderation. type ModerateReceiveBufferOption bool // TCPLingerTimeoutOption is used by SetSockOpt/GetSockOpt to set/get the @@ -1244,6 +1244,9 @@ type UDPStats struct { // ChecksumErrors is the number of datagrams dropped due to bad checksums. ChecksumErrors *StatCounter + + // InvalidSourceAddress is the number of invalid sourced datagrams dropped. + InvalidSourceAddress *StatCounter } // Stats holds statistics about the networking stack. |