mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-25 16:05:37 +08: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
|
|
}
|