Re: [PATCH 2/7] Introduce nf_inet_address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
On Dec 11 2007 11:16, Patrick McHardy wrote:
Jan Engelhardt wrote:
A few netfilter modules provide their own union of IPv4 and IPv6
address storage. Will unify that in this patch series.

(1/4): Rename union nf_conntrack_address to union nf_inet_addr and
move it to x_tables.h.
netfilter.h seems more appropriate for this than x_tables.h,
so I'll move it unless there are good reasons not to.


Userspace iptables does not seem to properly cope with it, though:

In file included from /ws/linux-2.6/include/linux/netfilter_ipv4.h:8,
from /ws/linux-2.6/include/linux/netfilter_ipv4/ip_tables.h:26,
                 from include/libiptc/libiptc.h:6,
                 from libiptc/libip4tc.c:29:
/ws/linux-2.6/include/linux/netfilter.h:53: error: expected specifier-qualifier-list before ‘__be32’
make: *** [libiptc/libip4tc.o] Error 1


Userspace has to deal with these types, they're already used
in many other structures. I've already added the necessary
defines or typedefs to the iptables headers some time ago.
We should probably just include <linux/types.h> to fix it
though. Could you give that a try?
-
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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux