Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMeshCIDR = "10.100.0.0/16"
DefaultMeshCIDR is the default mesh IP range used when no --mesh-cidr is specified.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapConfig ¶
type Config ¶
type Config struct {
Node NodeConfig
Bootstrap BootstrapConfig
CA CAConfig
Join JoinConfig
SOCKS SOCKSConfig
DNS DNSConfig
Exit ExitConfig
Scribe ScribeConfig
Tun TunConfig
Persist PersistConfig
Control ControlConfig
}
type ControlConfig ¶
type ControlConfig struct {
Socket string
}
type ExitConfig ¶
type JoinConfig ¶
type NodeConfig ¶
type PersistConfig ¶
type SOCKSConfig ¶
type ScribeConfig ¶
type TunConfig ¶
type TunConfig struct {
Enabled bool
Name string
CIDR string
FEC bool
Queues int // multi-queue TUN readers (default 1, set higher for >1Gbps)
IOURing bool // use io_uring for TUN I/O (Linux ≥5.1, auto-fallback)
IOURingBufs int // io_uring buffers per queue (default 128, higher = more in-flight I/O)
}
Click to show internal directories.
Click to hide internal directories.