mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-19 19:10:37 +03: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)
|
|
}
|