summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ECN.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-12-18 03:10:56 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-12-18 03:10:57 +0100
commit32a4b7dcaf252348732362cd6d853bf0005b2bdd (patch)
treea0cb75f98e4a09b75a8d51095f4a39769d778c74 /include/linux/netfilter_ipv4/ipt_ECN.h
parentb8c42eca0f224a00bf55b60ded81af14a1e07da1 (diff)
parent79ddbf202a06e6f018e087a328c2ca91e65a8463 (diff)
Merge branch 'stable'
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;
};