summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ECN.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-09-08 17:00:49 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-09-08 17:00:49 +0200
commit62fc25fd1625f0f65b9eed3e15fe929dd0aff2c5 (patch)
tree454897aba88119dfe9aa550813aea8ef891d64f2 /include/linux/netfilter_ipv4/ipt_ECN.h
parent891d5790b3f4caeed80f1449d280617c54df8837 (diff)
parentdbe77cc974cee656eae37e75039dd1a410a4535b (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
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;
};