>>>>> "Jan" == Jan Engelhardt <jengelh@xxxxxxxxxx> writes: Hi, >> But those structs define the network format of ipv4 and ipv6 headers, so >> they are not likely to change. Jan> I was pondering on a hypothetical implementation with CHAR_BIT=16. Using iptables? Even so, the ipv6 header would need to be the same to be able to communicate with other ipv6 hosts. Jan> How about Jan> http://dev.medozas.de/gitweb.cgi?p=iptables;a=commitdiff;h=4d8656ad9d0afd04820f125a85a7b673c7e74fe6 That works as well (if we assume that all systems have netinet/ip.h even when built with --disable-ipv4): checking size of struct ip6_hdr... 0 So you end up with a wrong TCPMSS6_opts.max value (UINT16_MAX), but that presumably doesn't matter if you don't use ipv6. -- Bye, Peter Korsgaard -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html