From be17b94446b2f96c2a3d531fe20271537c77c8aa Mon Sep 17 00:00:00 2001 From: Arthur Sfez Date: Tue, 19 Jan 2021 15:05:17 -0800 Subject: Per NIC NetworkEndpoint statistics To facilitate the debugging of multi-homed setup, track Network protocols statistics for each endpoint. Note that the original stack-wide stats still exist. A new type of statistic counter is introduced, which track two versions of a stat at the same time. This lets a network endpoint increment both the local stat and the stack-wide stat at the same time. Fixes #4605 PiperOrigin-RevId: 352663276 --- pkg/tcpip/network/testutil/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/tcpip/network/testutil/BUILD') diff --git a/pkg/tcpip/network/testutil/BUILD b/pkg/tcpip/network/testutil/BUILD index d0ffc299a..652b92a21 100644 --- a/pkg/tcpip/network/testutil/BUILD +++ b/pkg/tcpip/network/testutil/BUILD @@ -6,6 +6,7 @@ go_library( name = "testutil", srcs = [ "testutil.go", + "testutil_unsafe.go", ], visibility = [ "//pkg/tcpip/network/fragmentation:__pkg__", -- cgit v1.2.3