diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2005-04-24 23:10:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-24 23:10:16 -0400 |
commit | db7530797992bb2be703f9f3cc69b1a578f812f8 (patch) | |
tree | 741ca281d2acb1f5a62df20ccda4ad294b57347b /include/linux | |
parent | ac6910e189471e6b46ecea59e7620b083329ad4f (diff) |
[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')
-rw-r--r-- | include/linux/tc_act/tc_defact.h | 21 |
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 @@ | |||
1 | #ifndef __LINUX_TC_DEF_H | ||
2 | #define __LINUX_TC_DEF_H | ||
3 | |||
4 | #include <linux/pkt_cls.h> | ||
5 | |||
6 | struct tc_defact | ||
7 | { | ||
8 | tc_gen; | ||
9 | }; | ||
10 | |||
11 | enum | ||
12 | { | ||
13 | TCA_DEF_UNSPEC, | ||
14 | TCA_DEF_TM, | ||
15 | TCA_DEF_PARMS, | ||
16 | TCA_DEF_DATA, | ||
17 | __TCA_DEF_MAX | ||
18 | }; | ||
19 | #define TCA_DEF_MAX (__TCA_DEF_MAX - 1) | ||
20 | |||
21 | #endif | ||