Add DefaultInterface func
This commit is contained in:
parent
56a9b85cf5
commit
1a85bd3ef4
2 changed files with 15 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ type DefaultInterfaceMonitor interface {
|
|||
Close() error
|
||||
DefaultInterfaceName(destination netip.Addr) string
|
||||
DefaultInterfaceIndex(destination netip.Addr) int
|
||||
DefaultInterface(destination netip.Addr) (string, int)
|
||||
OverrideAndroidVPN() bool
|
||||
AndroidVPNEnabled() bool
|
||||
RegisterCallback(callback DefaultInterfaceUpdateCallback) *list.Element[DefaultInterfaceUpdateCallback]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue