LjhAUMEM
2026-06-16 23:24:39 +08:00
committed by RPRX
parent d27b3e46e2
commit 862631172d
20 changed files with 1587 additions and 1331 deletions
+5 -3
View File
@@ -1,14 +1,16 @@
//go:build !linux || android
//go:build !linux
package wireguard
import (
"errors"
"net/netip"
"golang.zx2c4.com/wireguard/tun"
)
func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousModeHandler) (t Tunnel, err error) {
return nil, errors.New("not implemented")
func createKernelTun([]netip.Addr, []netip.Addr, int) (tdev tun.Device, tnet *Net, err error) {
return nil, nil, errors.New("not implemented")
}
func KernelTunSupported() (bool, error) {