2023-11-18 03:27:17 +00:00
|
|
|
//go:build !linux || android
|
2023-11-12 20:10:01 +00:00
|
|
|
|
|
|
|
package wireguard
|
|
|
|
|
|
|
|
import (
|
2023-11-18 03:27:17 +00:00
|
|
|
"errors"
|
2023-11-12 20:10:01 +00:00
|
|
|
"net/netip"
|
|
|
|
)
|
|
|
|
|
2023-11-18 03:27:17 +00:00
|
|
|
func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousModeHandler) (t Tunnel, err error) {
|
|
|
|
return nil, errors.New("not implemented")
|
2023-11-12 20:10:01 +00:00
|
|
|
}
|
|
|
|
|
2024-10-15 03:30:29 +00:00
|
|
|
func KernelTunSupported() (bool, error) {
|
|
|
|
return false, nil
|
2023-11-12 20:10:01 +00:00
|
|
|
}
|