diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-01-19 12:06:08 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-19 12:08:36 -0800 |
commit | a2ec1932c9b76d80d3af93aa74acf945829cd582 (patch) | |
tree | 86a7d00bf7c9f5cc407999b794def4c208d41c3b /pkg/tcpip/stack/registration.go | |
parent | 1a072e298e76c59083f2732b24f9291f888d6c66 (diff) |
Drop CheckLocalAddress from LinkAddressCache
PiperOrigin-RevId: 352623277
Diffstat (limited to 'pkg/tcpip/stack/registration.go')
-rw-r--r-- | pkg/tcpip/stack/registration.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go index 68c113b6a..a73bc7007 100644 --- a/pkg/tcpip/stack/registration.go +++ b/pkg/tcpip/stack/registration.go @@ -829,10 +829,6 @@ type LinkAddressResolver interface { // A LinkAddressCache caches link addresses. type LinkAddressCache interface { - // CheckLocalAddress determines if the given local address exists, and if it - // does not exist. - CheckLocalAddress(nicID tcpip.NICID, protocol tcpip.NetworkProtocolNumber, addr tcpip.Address) tcpip.NICID - // AddLinkAddress adds a link address to the cache. AddLinkAddress(nicID tcpip.NICID, addr tcpip.Address, linkAddr tcpip.LinkAddress) } |