1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-07 10:47:48 -05:00
v2fly/transport/internet/tcp/sockopt_other.go
lucifer 2ad7060375 add freebsd/pf support:
- transparent proxy (pf rdr) in IPv4 environment
- support both tcp and udp
- enable TCP_FASTOPEN, SO_REUSEPORT_LB, SO_REUSEADDR
- sockopt:mark is mapped to SO_USER_COOKIE
2020-03-12 00:42:29 +08:00

14 lines
252 B
Go

// +build !linux,!freebsd
// +build !confonly
package tcp
import (
"v2ray.com/core/common/net"
"v2ray.com/core/transport/internet"
)
func GetOriginalDestination(conn internet.Connection) (net.Destination, error) {
return net.Destination{}, nil
}