summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/neighbor_cache.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-02-06 09:47:26 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-06 09:49:14 -0800
commit9530f624e971183a0e72fe5123f542e0a4e1b329 (patch)
tree220a5a05d3b8ec4ec9d79a17ce5715c5668fdcd1 /pkg/tcpip/stack/neighbor_cache.go
parentc19e049f2c79ee9864cc273f6dc714b5caa434ca (diff)
Unexpose NIC
The NIC structure is not to be used outside of the stack package directly. PiperOrigin-RevId: 356036737
Diffstat (limited to 'pkg/tcpip/stack/neighbor_cache.go')
-rw-r--r--pkg/tcpip/stack/neighbor_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/neighbor_cache.go b/pkg/tcpip/stack/neighbor_cache.go
index 7e3132058..b7cd4faa8 100644
--- a/pkg/tcpip/stack/neighbor_cache.go
+++ b/pkg/tcpip/stack/neighbor_cache.go
@@ -43,7 +43,7 @@ type NeighborStats struct {
// Their state is always Static. The amount of static entries stored in the
// cache is unbounded.
type neighborCache struct {
- nic *NIC
+ nic *nic
state *NUDState
linkRes LinkAddressResolver