summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-02-17 21:32:32 +0000
committerHarald Welte <laforge@gnumonks.org>2002-02-17 21:32:32 +0000
commit385a1dd0f3b01fc0fbd6bcdee9796e0240ea77c1 (patch)
treed7f7c0fb31a35925c4c0d0bd494d6cbf8e98c468 /include
parent96d960594e7db97568e478be884f205034d3a32f (diff)
add ECN target support
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_ipv4/ipt_ECN.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_ECN.h b/include/linux/netfilter_ipv4/ipt_ECN.h
new file mode 100644
index 00000000..1a02de76
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_ECN.h
@@ -0,0 +1,25 @@
+/* Header file for iptables ipt_ECN target
+ *
+ * (C) 2002 by Harald Welte <laforge@gnumonks.org>
+ *
+ * This software is distributed under GNU GPL v2, 1991
+ *
+ * ipt_ECN.h,v 1.1 2002/02/17 21:30:16 laforge Exp
+*/
+#ifndef _IPT_DSCP_H
+#define _IPT_DSCP_H
+#include <linux/netfilter_ipv4/ipt_DSCP.h>
+
+#define IPT_ECN_MASK (~IPT_DSCP_MASK)
+
+enum ipt_ecn_operation {
+ IPT_ECN_OP_NONE = 0,
+ IPT_ECN_OP_REMOVE,
+};
+#define IPT_ECN_OP_MAX IPT_ECN_OP_REMOVE
+
+struct ipt_ECN_info {
+ enum ipt_ecn_operation operation;
+};
+
+#endif /* _IPT_ECN_H */