github.com/xmplusdev/xray-core@v1.8.10/proxy/wireguard/tun_default.go (about) 1 //go:build !linux || android 2 3 package wireguard 4 5 import ( 6 "errors" 7 "net/netip" 8 ) 9 10 func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousModeHandler) (t Tunnel, err error) { 11 return nil, errors.New("not implemented") 12 } 13 14 func KernelTunSupported() bool { 15 return false 16 }