summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ECN.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-28 14:19:43 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-31 14:07:43 +0200
commitdbe77cc974cee656eae37e75039dd1a410a4535b (patch)
tree81b96ab85defef50f6f492d5d66cd6e0d6299135 /include/linux/netfilter_ipv4/ipt_ECN.h
parent3775fb69f63b76191bc3571bfa8538c18173d90f (diff)
include: refresh include files from kernel 3.1-rc3
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_ECN.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_ECN.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_ECN.h b/include/linux/netfilter_ipv4/ipt_ECN.h
index 7ca45918..bb88d531 100644
--- a/include/linux/netfilter_ipv4/ipt_ECN.h
+++ b/include/linux/netfilter_ipv4/ipt_ECN.h
@@ -8,6 +8,8 @@
*/
#ifndef _IPT_ECN_TARGET_H
#define _IPT_ECN_TARGET_H
+
+#include <linux/types.h>
#include <linux/netfilter/xt_DSCP.h>
#define IPT_ECN_IP_MASK (~XT_DSCP_MASK)
@@ -19,11 +21,11 @@
#define IPT_ECN_OP_MASK 0xce
struct ipt_ECN_info {
- u_int8_t operation; /* bitset of operations */
- u_int8_t ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */
+ __u8 operation; /* bitset of operations */
+ __u8 ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */
union {
struct {
- u_int8_t ece:1, cwr:1; /* TCP ECT bits */
+ __u8 ece:1, cwr:1; /* TCP ECT bits */
} tcp;
} proto;
};