mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-10-30 03:21:44 +08:00
13 lines
248 B
Go
13 lines
248 B
Go
//go:build no_gvisor || !(linux || windows || darwin)
|
|
|
|
package tun
|
|
|
|
import (
|
|
"net/netip"
|
|
"os"
|
|
)
|
|
|
|
func Open(name string, inet4Address netip.Prefix, inet6Address netip.Prefix, mtu uint32, autoRoute bool) (Tun, error) {
|
|
return nil, os.ErrInvalid
|
|
}
|