sing-box/common/tun/gvisor_nonlinux.go

10 lines
195 B
Go
Raw Normal View History

2022-07-09 11:18:37 +00:00
//go:build !linux
package tun
import "gvisor.dev/gvisor/pkg/tcpip/stack"
func NewEndpoint(tunFd uintptr, tunMtu uint32) (stack.LinkEndpoint, error) {
return NewPosixEndpoint(tunFd, tunMtu)
}