Function rustix::net::sockopt::get_ipv6_original_dst

source ยท
pub fn get_ipv6_original_dst<Fd: AsFd>(fd: Fd) -> Result<SocketAddrV6>
Expand description

getsockopt(fd, IPPROTO_IPV6, IP6T_SO_ORIGINAL_DST)

Even though this corresponds to a IP6T_* constant, it is an IPPROTO_IPV6 option.

See the module-level documentation for more.