On Jan 4 2008 15:49, Patrick McHardy wrote: > Jan Engelhardt wrote: >> commit 827c835ce662ee0e060b936ac4cb35a6b2e5c10a >> Author: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> >> Date: Wed Jan 2 17:54:52 2008 +0100 >> >> [NETFILTER]: Extend nf_inet_addr with in{,6}_addr >> >> Extend union nf_inet_addr with struct in_addr and in6_addr. Useful >> because a lot of in-kernel IPv4 and IPv6 functions use >> in_addr/in6_addr. > > Also applied, thanks. Perhaps a better way would be to consistently > only use one of both types (be32 or in_addr), but for now this > seems fine. > It is because of userspace -- it uses in_addr in so many functions, extending the union seemed like the best thing to avoid tons of casting or compile warnings. - 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