refactor: DNS

This commit is contained in:
世界
2024-12-02 23:17:01 +08:00
parent 8d6c4f1289
commit 68ecc3f687
89 changed files with 4761 additions and 1735 deletions

View File

@@ -6,6 +6,7 @@ import (
)
type PlatformInterface interface {
LocalDNSTransport() LocalDNSTransport
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl(fd int32) error
OpenTun(options TunOptions) (int32, error)