On Wed, Mar 26, 2008 at 08:44:20AM +0100, Jan Engelhardt wrote: > + return htonl(ntohl(a) & ~(~(u_int32_t)0 >> l)); BTW, isn't this way faster: return a & htonl(~(~(u_int32_t)0 >> l)); -- Michal Miroslaw -- 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