diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-01-18 02:38:46 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-18 02:38:46 +0000 |
commit | 10f304d9797a8a1cd6e4fbaa1461800b0160fecf (patch) | |
tree | 4578cc729bfea88843f57a1f65a35448b8f9f546 /pkg/tcpip/tcpip.go | |
parent | 0fd6493d498b044fa37d33d3f2c0b0e1f0b80dc6 (diff) | |
parent | 47d85257d3d015f0b9f7739c81af0ee9f510aaf5 (diff) |
Merge release-20200115.0-33-g47d8525 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r-- | pkg/tcpip/tcpip.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index b7813cbc0..6243762e3 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -903,9 +903,13 @@ type IPStats struct { // link layer in nic.DeliverNetworkPacket. PacketsReceived *StatCounter - // InvalidAddressesReceived is the total number of IP packets received - // with an unknown or invalid destination address. - InvalidAddressesReceived *StatCounter + // InvalidDestinationAddressesReceived is the total number of IP packets + // received with an unknown or invalid destination address. + InvalidDestinationAddressesReceived *StatCounter + + // InvalidSourceAddressesReceived is the total number of IP packets received + // with a source address that should never have been received on the wire. + InvalidSourceAddressesReceived *StatCounter // PacketsDelivered is the total number of incoming IP packets that // are successfully delivered to the transport layer via HandlePacket. |