Files

19 lines
318 B
Go
Raw Permalink Normal View History

2026-06-16 23:24:39 +08:00
//go:build !linux
2023-11-12 15:10:01 -05:00
package wireguard
import (
"errors"
2023-11-12 15:10:01 -05:00
"net/netip"
2026-06-16 23:24:39 +08:00
"golang.zx2c4.com/wireguard/tun"
2023-11-12 15:10:01 -05:00
)
2026-06-16 23:24:39 +08:00
func createKernelTun([]netip.Addr, []netip.Addr, int) (tdev tun.Device, tnet *Net, err error) {
return nil, nil, errors.New("not implemented")
2023-11-12 15:10:01 -05:00
}
func KernelTunSupported() (bool, error) {
return false, nil
2023-11-12 15:10:01 -05:00
}