2023-04-17 11:15:37 +02:00
|
|
|
package internal
|
|
|
|
|
|
|
|
import (
|
2023-07-14 21:56:22 +02:00
|
|
|
"github.com/netbirdio/netbird/client/internal/dns"
|
2023-11-02 19:04:33 +01:00
|
|
|
"github.com/netbirdio/netbird/client/internal/listener"
|
2023-04-17 11:15:37 +02:00
|
|
|
"github.com/netbirdio/netbird/client/internal/stdnet"
|
|
|
|
"github.com/netbirdio/netbird/iface"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MobileDependency collect all dependencies for mobile platform
|
|
|
|
type MobileDependency struct {
|
2024-01-03 16:06:20 +01:00
|
|
|
// Android only
|
2023-11-02 19:04:33 +01:00
|
|
|
TunAdapter iface.TunAdapter
|
|
|
|
IFaceDiscover stdnet.ExternalIFaceDiscover
|
|
|
|
NetworkChangeListener listener.NetworkChangeListener
|
|
|
|
HostDNSAddresses []string
|
|
|
|
DnsReadyListener dns.ReadyListener
|
2024-01-03 16:06:20 +01:00
|
|
|
|
|
|
|
// iOS only
|
|
|
|
DnsManager dns.IosDnsManager
|
|
|
|
FileDescriptor int32
|
2023-04-17 11:15:37 +02:00
|
|
|
}
|