summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorjamal <hadi@cyberus.ca>2009-10-15 05:09:18 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-23 06:56:42 +0200
commit1c55d62e77fa16cdace417834fc7b8a421a1877f (patch)
tree24a9a8775beb7b7b0cc8b9d1fba2406ef9bf0643 /include/net/tc_act
parentsfc: 10Xpress: Report support for pause frames (diff)
downloadlinux-1c55d62e77fa16cdace417834fc7b8a421a1877f.tar.xz
linux-1c55d62e77fa16cdace417834fc7b8a421a1877f.zip
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/net/tc_act')
-rw-r--r--include/net/tc_act/tc_skbedit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_skbedit.h b/include/net/tc_act/tc_skbedit.h
index 6abb3ed3ebf7..e103fe02f375 100644
--- a/include/net/tc_act/tc_skbedit.h
+++ b/include/net/tc_act/tc_skbedit.h
@@ -26,7 +26,9 @@ struct tcf_skbedit {
struct tcf_common common;
u32 flags;
u32 priority;
+ u32 mark;
u16 queue_mapping;
+ /* XXX: 16-bit pad here? */
};
#define to_skbedit(pc) \
container_of(pc, struct tcf_skbedit, common)