Versions in this module Expand all Collapse all v0 v0.0.1 Mar 3, 2024 Changes in this version + var DefaultMTU uint32 = 1350 + func AddTunRoutes(name string, routes []IPRoute) error — darwin/amd64, linux/amd64, windows/amd64 + func SetTunAddress(name string, addr string, mtu uint32) (err error) — linux/amd64, windows/amd64 + func SetTunAddress(name string, addr string, mtu uint32) error — darwin/amd64 + type IPRoute struct + Dest netip.Prefix + Gateway netip.Addr + type TunConfig struct + Addr string + MTU uint32 + Name string