Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nextdns/nextdns
/ SearchMAC
Function
SearchMAC
ndp/cache.go:29–31 ·
view source on GitHub ↗
(ip net.IP)
Source
from the content-addressed store, hash-verified
27
var
global = &cache{}
28
29
func
SearchMAC(ip net.IP) net.HardwareAddr {
30
return
global.get().SearchMAC(ip)
31
}
32
33
func
SearchIP(mac net.HardwareAddr) net.IP {
34
return
global.get().SearchIP(mac)
Callers
1
New
Function · 0.92
Calls
2
SearchMAC
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…