github.com/yaling888/clash@v1.53.0/listener/tproxy/setsockopt_other.go (about) 1 //go:build !linux 2 3 package tproxy 4 5 import ( 6 "errors" 7 "syscall" 8 ) 9 10 func setsockopt(rc syscall.RawConn, addr string) error { 11 return errors.New("not supported on current platform") 12 }