summaryrefslogtreecommitdiff
path: root/include/linux/tc_act
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2004-11-01 00:43:22 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-11-01 00:43:22 -0800
commit2a9c7232758fd4b95b0b1ccceaa091e18c56e756 (patch)
tree4240a361d71478a7ec588876f75333eeaa52ae3e /include/linux/tc_act
parent7e0308152d9f9a857914b10714139d67cc0383ef (diff)
[PKT_SCHED]: Add iptables action.
Signed-off-by: jamal <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tc_act')
-rw-r--r--include/linux/tc_act/tc_ipt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/tc_act/tc_ipt.h b/include/linux/tc_act/tc_ipt.h
new file mode 100644
index 000000000000..4b6f7b6c7a79
--- /dev/null
+++ b/include/linux/tc_act/tc_ipt.h
@@ -0,0 +1,21 @@
+#ifndef __LINUX_TC_IPT_H
+#define __LINUX_TC_IPT_H
+
+#include <linux/pkt_cls.h>
+
+#define TCA_ACT_IPT 6
+
+enum
+{
+ TCA_IPT_UNSPEC,
+ TCA_IPT_TABLE,
+ TCA_IPT_HOOK,
+ TCA_IPT_INDEX,
+ TCA_IPT_CNT,
+ TCA_IPT_TM,
+ TCA_IPT_TARG,
+ __TCA_IPT_MAX
+};
+#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
+
+#endif