mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00:00
23 lines
347 B
Go
23 lines
347 B
Go
//go:build !linux
|
|
|
|
package redir
|
|
|
|
import (
|
|
"net/netip"
|
|
"os"
|
|
|
|
"github.com/sagernet/sing/common/control"
|
|
)
|
|
|
|
func TProxy(fd uintptr, isIPv6 bool) error {
|
|
return os.ErrInvalid
|
|
}
|
|
|
|
func TProxyWriteBack() control.Func {
|
|
return nil
|
|
}
|
|
|
|
func GetOriginalDestinationFromOOB(oob []byte) (netip.AddrPort, error) {
|
|
return netip.AddrPort{}, os.ErrInvalid
|
|
}
|