isLocalIP reports whether ip is a Tailscale IP assigned to this node directly (but not a subnet-routed IP).
(ip netip.Addr)
| 1182 | // isLocalIP reports whether ip is a Tailscale IP assigned to this |
| 1183 | // node directly (but not a subnet-routed IP). |
| 1184 | func (ns *Impl) isLocalIP(ip netip.Addr) bool { |
| 1185 | return ns.atomicIsLocalIPFunc.Load()(ip) |
| 1186 | } |
| 1187 | |
| 1188 | // isVIPServiceIP reports whether ip is an IP address that's |
| 1189 | // assigned to a VIP service. |
no test coverage detected