MCPcopy
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

27var global = &cache{}
28
29func SearchMAC(ip net.IP) net.HardwareAddr {
30 return global.get().SearchMAC(ip)
31}
32
33func SearchIP(mac net.HardwareAddr) net.IP {
34 return global.get().SearchIP(mac)

Callers 1

NewFunction · 0.92

Calls 2

SearchMACMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…