summaryrefslogtreecommitdiff
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2005-04-24 20:10:16 -0700
committerDavid S. Miller <davem@davemloft.net>2005-04-24 20:10:16 -0700
commitdb7530797992bb2be703f9f3cc69b1a578f812f8 (patch)
tree741ca281d2acb1f5a62df20ccda4ad294b57347b /include/net/tc_act
parentac6910e189471e6b46ecea59e7620b083329ad4f (diff)
downloadlinux-3.10-db7530797992bb2be703f9f3cc69b1a578f812f8.tar.gz
linux-3.10-db7530797992bb2be703f9f3cc69b1a578f812f8.tar.bz2
linux-3.10-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/net/tc_act')
-rw-r--r--include/net/tc_act/tc_defact.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_defact.h b/include/net/tc_act/tc_defact.h
new file mode 100644
index 00000000000..463aa671f95
--- /dev/null
+++ b/include/net/tc_act/tc_defact.h
@@ -0,0 +1,13 @@
+#ifndef __NET_TC_DEF_H
+#define __NET_TC_DEF_H
+
+#include <net/act_api.h>
+
+struct tcf_defact
+{
+ tca_gen(defact);
+ u32 datalen;
+ void *defdata;
+};
+
+#endif