mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
17 lines
440 B
Go
17 lines
440 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package v2ray_simple
|
|
|
|
import (
|
|
"github.com/e1732a364fed/v2ray_simple/netLayer/tproxy"
|
|
"github.com/e1732a364fed/v2ray_simple/proxy"
|
|
"github.com/e1732a364fed/v2ray_simple/utils"
|
|
)
|
|
|
|
//非阻塞。在非linux系统中无效。
|
|
func ListenTproxy(lc proxy.LesserConf, defaultClient proxy.Client, env *proxy.RoutingEnv) (_ *tproxy.Machine) {
|
|
utils.Error("Tproxy not possible on non-linux device")
|
|
return
|
|
}
|