package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev

# Functions

AllIPv4 returns 0.0.0.0/0.
AllIPv6 returns ::/0.
CGNATRange returns the Carrier Grade NAT address range that is the superset range that Tailscale assigns out of.
ChromeOSVMRange returns the subset of the CGNAT IPv4 range used by ChromeOS to interconnect the host OS to containers and VMs.
ContainsExitRoutes reports whether rr contains both the IPv4 and IPv6 /0 route.
ExitRoutes returns a slice containing AllIPv4 and AllIPv6.
FilterPrefixes returns a new slice, not aliasing in, containing elements of in that match f.
IPsContainsFunc reports whether f is true for any IP in ips.
IsTailscaleIP reports whether ip is an IP address in a range that Tailscale assigns from.
IsViaPrefix reports whether p is a CIDR in the Tailscale "via" range.
MapVia returns an IPv6 "via" route for an IPv4 CIDR in a given siteID.
NewContainsIPFunc returns a func that reports whether ip is in addrs.
PrefixesContainsFunc reports whether f is true for any IPPrefix in ipp.
PrefixesContainsIP reports whether any prefix in ipp contains ip.
PrefixIs4 reports whether p is an IPv4 prefix.
PrefixIs6 reports whether p is an IPv6 prefix.
Tailscale4To6 returns a Tailscale IPv6 address that maps 1:1 to the given Tailscale IPv4 address.
Tailscale4To6Placeholder returns an IP address that can be used as a source IP when one is required, but a netmap didn't provide any.
Tailscale4To6Range returns the subset of TailscaleULARange used for auto-translated Tailscale ipv4 addresses.
Tailscale6to4 returns the IPv4 address corresponding to the given tailscale IPv6 address within the 4To6 range.
TailscaleEphemeral6Range returns the subset of TailscaleULARange used for ephemeral IPv6-only Tailscale nodes.
TailscaleServiceIP returns the IPv4 listen address of services provided by Tailscale itself such as the MagicDNS proxy.
TailscaleServiceIPv6 returns the IPv6 listen address of the services provided by Tailscale itself such as the MagicDNS proxy.
TailscaleULARange returns the IPv6 Unique Local Address range that is the superset range that Tailscale assigns out of.
TailscaleViaRange returns the IPv6 Unique Local Address subset range TailscaleULARange that's used for IPv4 tunneling via IPv6.
UnmapVia returns the IPv4 address that corresponds to the provided Tailscale "via" IPv4-in-IPv6 address.