Versions in this module Expand all Collapse all v0 v0.1.1 Feb 5, 2024 v0.1.0 Jan 20, 2024 Changes in this version + const DefaultPort + const LenBufSize + const Off + const On + const TunMTU + const TunName + func CreateTun() (*os.File, error) — darwin/amd64 + func SetupTunAsEnclave() (*os.File, error) — linux/amd64 + func SetupTunAsEnclave() error — darwin/amd64 + func SetupTunAsProxy() (*os.File, error) — linux/amd64 + func SetupTunAsProxy() error — darwin/amd64 + func ToggleNAT(toggle bool) error + func TunToVsock(from io.Reader, to io.WriteCloser, ch chan error, wg *sync.WaitGroup) + func VsockToTun(from io.Reader, to io.WriteCloser, ch chan error, wg *sync.WaitGroup)