Versions in this module Expand all Collapse all v1 v1.31.1 Nov 1, 2023 v1.31.0 Oct 20, 2023 Changes in this version + func Start(device dev.Device, gateway, portal, _ netip.Addr) (*TCP, *UDP, error) + type TCP struct + func (t *TCP) Accept() (net.Conn, error) + func (t *TCP) Addr() net.Addr + func (t *TCP) Close() error + func (t *TCP) SetDeadline(time time.Time) error + type UDP struct + func (u *UDP) Close() error + func (u *UDP) ReadFrom(buf []byte) (n int, src netip.AddrPort, dest netip.AddrPort, err error) + func (u *UDP) WriteTo(buf []byte, local netip.AddrPort, remote netip.AddrPort) (int, error)