Fix connection owner lookup on legacy Android

This commit is contained in:
世界
2026-10-23 19:57:03 +08:00
parent af288b53e6
commit 40bc411e8d
5 changed files with 121 additions and 79 deletions
-1
View File
@@ -7,7 +7,6 @@ type PlatformInterface interface {
UsePlatformAutoDetectInterfaceControl() bool
AutoDetectInterfaceControl(fd int32) error
OpenTun(options TunOptions) (int32, error)
UseProcFS() bool
FindConnectionOwner(ipProtocol int32, sourceAddress string, sourcePort int32, destinationAddress string, destinationPort int32) (*ConnectionOwner, error)
StartDefaultInterfaceMonitor(listener InterfaceUpdateListener) error
CloseDefaultInterfaceMonitor(listener InterfaceUpdateListener) error