Add tun inbound for linux

This commit is contained in:
世界
2022-07-09 19:18:37 +08:00
parent c463d0cf80
commit 730144cc26
19 changed files with 623 additions and 22 deletions

11
common/tun/tun_other.go Normal file
View File

@@ -0,0 +1,11 @@
//go:build !linux
package tun
import (
"os"
)
func Open(name string) (uintptr, error) {
return 0, os.ErrInvalid
}