Function rustix::net::sockopt::get_ip_original_dst
source · pub fn get_ip_original_dst<Fd: AsFd>(fd: Fd) -> Result<SocketAddrV4>
Expand description
getsockopt(fd, IPPROTO_IP, SO_ORIGINAL_DST)
Even though this corresponnds to a SO_*
constant, it is an IPPROTO_IP
option.
See the module-level documentation for more.