mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-04 22:10:56 +01:00
15 lines
306 B
Go
15 lines
306 B
Go
|
//go:build !windows
|
||
|
|
||
|
package dns
|
||
|
|
||
|
import "github.com/netbirdio/netbird/iface"
|
||
|
|
||
|
// WGIface defines subset methods of interface required for manager
|
||
|
type WGIface interface {
|
||
|
Name() string
|
||
|
Address() iface.WGAddress
|
||
|
IsUserspaceBind() bool
|
||
|
GetFilter() iface.PacketFilter
|
||
|
GetDevice() *iface.DeviceWrapper
|
||
|
}
|