strace gives me the output: ``` getsockopt(17<TCPv6:[1273563]>, SOL_IPV6, 0x50 /* IPV6_??? */, "\n\0\1\273\0\0\0\0&\7\370\260@\7\10\10\0\0\0\0\0\0 \3\0\0\0\0", [28]) = 0 ``` It's `getsockopt(fd, SOL_IPV6, IP6T_SO_ORIGINAL_DST, destaddr, &v6_len);`
Activity
xlat: provide fallback values to getsock_ip*_options
wongsyrone commentedon Nov 22, 2018
Just noticed we don't have SO_ORIGINAL_DST in the source tree. The use case is
getsockopt (fd, SOL_IP, SO_ORIGINAL_DST, &dstaddr, &n)wongsyrone commentedon Nov 23, 2018
@esyr Any progress on SO_ORIGINAL_DST ?
xlat: provide fallback definitions to getsock_ip*_options
xlat: provide fallback values to getsock_ip*_options
xlat: provide fallback values to getsock_ip*_options