mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
tun: Set address sets to routes
This commit is contained in:
parent
96fdf59ee4
commit
7aac801ccd
8 changed files with 209 additions and 86 deletions
|
@ -9,6 +9,7 @@ type PlatformInterface interface {
|
|||
UsePlatformAutoDetectInterfaceControl() bool
|
||||
AutoDetectInterfaceControl(fd int32) error
|
||||
OpenTun(options TunOptions) (int32, error)
|
||||
UpdateRouteOptions(options TunOptions) error
|
||||
WriteLog(message string)
|
||||
UseProcFS() bool
|
||||
FindConnectionOwner(ipProtocol int32, sourceAddress string, sourcePort int32, destinationAddress string, destinationPort int32) (int32, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue