mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-09-16 05:42:32 +00:00
16 lines
365 B
Go
16 lines
365 B
Go
// +build !linux
|
|
|
|
package tproxy
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func getOrigDst(oob []byte, oobn int) (*net.UDPAddr, error) {
|
|
return nil, errors.New("UDP redir not supported on current platform")
|
|
}
|
|
|
|
func dialUDP(network string, lAddr *net.UDPAddr, rAddr *net.UDPAddr) (*net.UDPConn, error) {
|
|
return nil, errors.New("UDP redir not supported on current platform")
|
|
}
|