All of lore.kernel.org
 help / color / mirror / Atom feed
* tc filter fw flowid and masks
@ 2017-03-28  7:19 Salatiel Filho
  2017-03-28  7:27 ` Marco Gaiarin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Salatiel Filho @ 2017-03-28  7:19 UTC (permalink / raw)
  To: lartc

Hi guys, when i mark a packet using, for example,
# iptables ...  -j MARK --set-mark 10
i can match it using
#tc filter add dev ... handle 10 fw flowid 1:10

But how can i match it using tc filter if the mark using iptables has a mask?
# iptables ... -j MARK --set-mark 10/0xff

The mark is needed because there are a few QOS scripts that set marks
using masks 0xff00.

When using maks i am always getting in to the default tc class.

Thanks!

[]'s
Salatiel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-29 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28  7:19 tc filter fw flowid and masks Salatiel Filho
2017-03-28  7:27 ` Marco Gaiarin
2017-03-28  9:24 ` Andy Furniss
2017-03-28  9:33 ` Phil Sutter
2017-03-29 16:13 ` Marco Gaiarin
2017-03-29 16:58 ` Phil Sutter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.