diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-02-26 00:51:43 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-26 18:14:20 +0100 |
commit | 60c195c729532815c5209c81442fa0eb26ace706 (patch) | |
tree | c332ac9cc9f3e96dbe477f6f6fa3ce07f6f0fc47 /include/linux/netfilter/xt_dccp.h | |
parent | 1d7f83d5ad6c30b385ba549c1c3a287cc872b7ae (diff) | |
download | kernel_samsung_espresso10-60c195c729532815c5209c81442fa0eb26ace706.zip kernel_samsung_espresso10-60c195c729532815c5209c81442fa0eb26ace706.tar.gz kernel_samsung_espresso10-60c195c729532815c5209c81442fa0eb26ace706.tar.bz2 |
make netfilter use strict integer types
Netfilter traditionally uses BSD integer types in its
interface headers. This changes it to use the Linux
strict integer types, like everyone else.
Cc: netfilter-devel@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/netfilter/xt_dccp.h')
-rw-r--r-- | include/linux/netfilter/xt_dccp.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/linux/netfilter/xt_dccp.h b/include/linux/netfilter/xt_dccp.h index e0221b9..a579e1b 100644 --- a/include/linux/netfilter/xt_dccp.h +++ b/include/linux/netfilter/xt_dccp.h @@ -1,6 +1,8 @@ #ifndef _XT_DCCP_H_ #define _XT_DCCP_H_ +#include <linux/types.h> + #define XT_DCCP_SRC_PORTS 0x01 #define XT_DCCP_DEST_PORTS 0x02 #define XT_DCCP_TYPE 0x04 @@ -9,14 +11,14 @@ #define XT_DCCP_VALID_FLAGS 0x0f struct xt_dccp_info { - u_int16_t dpts[2]; /* Min, Max */ - u_int16_t spts[2]; /* Min, Max */ + __u16 dpts[2]; /* Min, Max */ + __u16 spts[2]; /* Min, Max */ - u_int16_t flags; - u_int16_t invflags; + __u16 flags; + __u16 invflags; - u_int16_t typemask; - u_int8_t option; + __u16 typemask; + __u8 option; }; #endif /* _XT_DCCP_H_ */ |