summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_CONNMARK.h
diff options
context:
space:
mode:
authorArnd Bergmann2009-02-26 00:51:43 +0100
committerIngo Molnar2009-03-26 18:14:20 +0100
commit60c195c729532815c5209c81442fa0eb26ace706 (patch)
treec332ac9cc9f3e96dbe477f6f6fa3ce07f6f0fc47 /include/linux/netfilter/xt_CONNMARK.h
parentmake drm headers use strict integer types (diff)
downloadkernel-qcow2-linux-60c195c729532815c5209c81442fa0eb26ace706.tar.gz
kernel-qcow2-linux-60c195c729532815c5209c81442fa0eb26ace706.tar.xz
kernel-qcow2-linux-60c195c729532815c5209c81442fa0eb26ace706.zip
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_CONNMARK.h')
-rw-r--r--include/linux/netfilter/xt_CONNMARK.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/netfilter/xt_CONNMARK.h b/include/linux/netfilter/xt_CONNMARK.h
index 4e58ba43c289..7635c8ffdadb 100644
--- a/include/linux/netfilter/xt_CONNMARK.h
+++ b/include/linux/netfilter/xt_CONNMARK.h
@@ -1,6 +1,8 @@
#ifndef _XT_CONNMARK_H_target
#define _XT_CONNMARK_H_target
+#include <linux/types.h>
+
/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
* by Henrik Nordstrom <hno@marasystems.com>
*
@@ -19,12 +21,12 @@ enum {
struct xt_connmark_target_info {
unsigned long mark;
unsigned long mask;
- u_int8_t mode;
+ __u8 mode;
};
struct xt_connmark_tginfo1 {
- u_int32_t ctmark, ctmask, nfmask;
- u_int8_t mode;
+ __u32 ctmark, ctmask, nfmask;
+ __u8 mode;
};
#endif /*_XT_CONNMARK_H_target*/