mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-08 22:19:20 +02:00
17 lines
294 B
Go
17 lines
294 B
Go
|
//go:build !linux || android
|
||
|
|
||
|
package wireguard
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"net/netip"
|
||
|
)
|
||
|
|
||
|
func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousModeHandler) (t Tunnel, err error) {
|
||
|
return nil, errors.New("not implemented")
|
||
|
}
|
||
|
|
||
|
func KernelTunSupported() bool {
|
||
|
return false
|
||
|
}
|