summaryrefslogtreecommitdiffstats
path: root/include/linux/tc_act
diff options
context:
space:
mode:
authorJamal Hadi Salim2005-04-25 05:10:16 +0200
committerDavid S. Miller2005-04-25 05:10:16 +0200
commitdb7530797992bb2be703f9f3cc69b1a578f812f8 (patch)
tree741ca281d2acb1f5a62df20ccda4ad294b57347b /include/linux/tc_act
parent[TG3]: Update driver version and release date. (diff)
downloadkernel-qcow2-linux-db7530797992bb2be703f9f3cc69b1a578f812f8.tar.gz
kernel-qcow2-linux-db7530797992bb2be703f9f3cc69b1a578f812f8.tar.xz
kernel-qcow2-linux-db7530797992bb2be703f9f3cc69b1a578f812f8.zip
[PKT_SCHED]: Introduce simple actions.
And provide an example simply action in order to demonstrate usage. Signed-off-by: Jamal Hadi Salim <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_defact.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/tc_act/tc_defact.h b/include/linux/tc_act/tc_defact.h
new file mode 100644
index 000000000000..964f473af0f0
--- /dev/null
+++ b/include/linux/tc_act/tc_defact.h
@@ -0,0 +1,21 @@
+#ifndef __LINUX_TC_DEF_H
+#define __LINUX_TC_DEF_H
+
+#include <linux/pkt_cls.h>
+
+struct tc_defact
+{
+ tc_gen;
+};
+
+enum
+{
+ TCA_DEF_UNSPEC,
+ TCA_DEF_TM,
+ TCA_DEF_PARMS,
+ TCA_DEF_DATA,
+ __TCA_DEF_MAX
+};
+#define TCA_DEF_MAX (__TCA_DEF_MAX - 1)
+
+#endif