mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-26 02:21:28 +00:00
10 lines
195 B
Go
10 lines
195 B
Go
|
//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)
|
||
|
}
|