mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-02 19:37:40 +03:00
9 lines
195 B
Go
9 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)
|
|
}
|