mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-07 10:47:48 -05:00
2ad7060375
- 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
|
|
}
|