summaryrefslogtreecommitdiffstats
path: root/include/linux/tc_act
diff options
context:
space:
mode:
authorjamal <hadi@cyberus.ca>2009-10-15 03:09:18 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-22 21:56:42 -0700
commit1c55d62e77fa16cdace417834fc7b8a421a1877f (patch)
tree24a9a8775beb7b7b0cc8b9d1fba2406ef9bf0643 /include/linux/tc_act
parent188586b28deda2dd4888a306cb6202cc6f408103 (diff)
downloadop-kernel-dev-1c55d62e77fa16cdace417834fc7b8a421a1877f.zip
op-kernel-dev-1c55d62e77fa16cdace417834fc7b8a421a1877f.tar.gz
pkt_sched: skbedit add support for setting mark
This adds support for setting the skb mark. 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_skbedit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tc_act/tc_skbedit.h b/include/linux/tc_act/tc_skbedit.h
index a14e461..7a2e910 100644
--- a/include/linux/tc_act/tc_skbedit.h
+++ b/include/linux/tc_act/tc_skbedit.h
@@ -26,6 +26,7 @@
#define SKBEDIT_F_PRIORITY 0x1
#define SKBEDIT_F_QUEUE_MAPPING 0x2
+#define SKBEDIT_F_MARK 0x4
struct tc_skbedit {
tc_gen;
@@ -37,6 +38,7 @@ enum {
TCA_SKBEDIT_PARMS,
TCA_SKBEDIT_PRIORITY,
TCA_SKBEDIT_QUEUE_MAPPING,
+ TCA_SKBEDIT_MARK,
__TCA_SKBEDIT_MAX
};
#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
OpenPOWER on IntegriCloud