summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/nic.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-24 22:25:59 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-24 22:25:59 +0000
commit4dc3fa9c2e59167489252680cd08a96048ee3c8c (patch)
tree1d85118f8df852320e35ae57e70e985f86e3e1c1 /pkg/tcpip/stack/nic.go
parent9d0cfd8a08305ceab2bfc4ba4b433fcb2afdc0c7 (diff)
parentf90ab60a8a5ce9663a878c7cabcc4ad66922e265 (diff)
Merge release-20201109.0-112-gf90ab60a8 (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r--pkg/tcpip/stack/nic.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go
index 3e6ceff28..43696ba14 100644
--- a/pkg/tcpip/stack/nic.go
+++ b/pkg/tcpip/stack/nic.go
@@ -60,12 +60,14 @@ type NIC struct {
}
}
-// NICStats includes transmitted and received stats.
+// NICStats hold statistics for a NIC.
type NICStats struct {
Tx DirectionStats
Rx DirectionStats
DisabledRx DirectionStats
+
+ Neighbor NeighborStats
}
func makeNICStats() NICStats {