Re: [NETFILTER 07/07]: Use __u32 in struct nf_inet_addr

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

 



Jan Engelhardt wrote:
On Feb 19 2008 17:25, Patrick McHardy wrote:
[NETFILTER]: Use __u32 in struct nf_inet_addr

As reported by David Woodhouse <dwmw2@xxxxxxxxxxxxx>, using u_int32_t in
struct nf_inet_addr breaks the busybox build. Fix by using __u32.

... that's why I say we should use uint32_t (with just one underscore),
because that is available in userspace thorugh <stdint.h>,
while u_int32_t is not (at first glance²).


As David explained, kernel headers shouldn't assume that userspace
has pulled in any of these typedefs and therefore should use
the kernel-internally defined types.

-
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