mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-04-16 12:35:54 +00:00
17 lines
308 B
Go
17 lines
308 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, error) {
|
||
|
|
return false, nil
|
||
|
|
}
|