Documentation ¶
Overview ¶
Package netstack wires up gVisor's netstack into Tailscale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DNSMap ¶ added in v1.6.0
DNSMap maps MagicDNS names (both base + FQDN) to their first IP. It should not be mutated once created.
func DNSMapFromNetworkMap ¶ added in v1.6.0
func DNSMapFromNetworkMap(nm *netmap.NetworkMap) DNSMap
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl contains the state for the netstack implementation, and implements wgengine.FakeImpl to act as a userspace network stack when Tailscale is running in fake mode.
func Create ¶ added in v1.6.0
func Create(logf logger.Logf, tundev *tstun.Wrapper, e wgengine.Engine, mc *magicsock.Conn, onlySubnets bool) (*Impl, error)
Create creates and populates a new Impl.
func (*Impl) DialContextTCP ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.