You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For IPv4, we can use SO_ORIGINAL_DST on SOL_IP levelret=getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, destaddr, &socklen);
// For IPv6, we should use IP6T_SO_ORIGINAL_DST on SOL_IPV6 levelret=getsockopt(fd, SOL_IPV6, IP6T_SO_ORIGINAL_DST, destaddr, &socklen);
Defined in #include <linux/netfilter_ipv6/ip6_tables.h>
#defineIP6T_SO_ORIGINAL_DST 80
The text was updated successfully, but these errors were encountered:
Target
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
References
Defined in
#include <linux/netfilter_ipv6/ip6_tables.h>
The text was updated successfully, but these errors were encountered: