Expand description
Layer 3: Network — Peer discovery, addressing, encrypted tunnels.
This module defines the NetworkProvider trait, the public API for Layer 3.
The trait is generic — no Tailscale-specific types leak through.
The tailscale submodule contains the [TailscaleProvider] implementation
that wraps the Go sidecar (tsnet) and bridge.
Modules§
- tailscale
- Tailscale network provider implementation.
Structs§
- Health
Info - Health information from the network provider.
- Incoming
Connection - An incoming TCP connection with metadata.
- Network
Peer - A peer as seen by the network layer (Layer 3).
- Network
TcpListener - A listener for incoming TCP connections via the network provider.
- Network
UdpSocket - A UDP socket that relays datagrams through the network provider.
- Node
Identity - Identity of the local node on the network.
- Peer
Addr - Network address of a peer.
- Ping
Result - Result of a network-level ping.
Enums§
- Network
Error - Errors from Layer 3 network operations.
- Network
Peer Event - Events emitted when network peers change state.
Traits§
- Network
Provider - Provides network-level peer discovery and raw connectivity.