mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-05 19:44:32 -04:00
- 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
14 lines
252 B
Go
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
|
|
}
|