mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 11:03:13 +00:00
22 lines
364 B
Go
22 lines
364 B
Go
//go:build !linux
|
|
|
|
package redir
|
|
|
|
import (
|
|
"net"
|
|
"net/netip"
|
|
"os"
|
|
)
|
|
|
|
func TProxy(fd uintptr, isIPv6 bool) error {
|
|
return os.ErrInvalid
|
|
}
|
|
|
|
func GetOriginalDestinationFromOOB(oob []byte) (netip.AddrPort, error) {
|
|
return netip.AddrPort{}, os.ErrInvalid
|
|
}
|
|
|
|
func DialUDP(lAddr *net.UDPAddr, rAddr *net.UDPAddr) (*net.UDPConn, error) {
|
|
return nil, os.ErrInvalid
|
|
}
|