refactor: DNS

This commit is contained in:
世界
2025-03-16 14:50:44 +08:00
parent cf72196a1a
commit ab4ea6ed68
89 changed files with 4792 additions and 1733 deletions

View File

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