package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Functions

CleanUp restores the system network configuration to its original state in case the Tailscale daemon terminated without closing the router.
ConsolidatingRoutes wraps a Router with logic that consolidates Routes whenever Set is called.
New returns a new Router for the current platform, using the provided tun device.
NewFake returns a Router that does nothing when called and always returns nil errors.

# Structs

CallbackRouter is an implementation of both Router and dns.OSConfigurator.
Config is the subset of Tailscale configuration that is relevant to the OS's network stack.
RouteTable is a Linux routing table: both its name and number.

# Interfaces

Router is responsible for managing the system network stack.