Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2023 Changes in this version + type Interface interface + AutoDetectInterfaceControl func() control.Func + ClearDNSCache func() + CreateDefaultInterfaceMonitor func(logger logger.Logger) tun.DefaultInterfaceMonitor + Initialize func(ctx context.Context, router adapter.Router) error + Interfaces func() ([]NetworkInterface, error) + OpenTun func(options *tun.Options, platformOptions option.TunPlatformOptions) (tun.Tun, error) + UnderNetworkExtension func() bool + UsePlatformAutoDetectInterfaceControl func() bool + UsePlatformDefaultInterfaceMonitor func() bool + UsePlatformInterfaceGetter func() bool + type NetworkInterface struct + Addresses []netip.Prefix + Index int + MTU int + Name string