Re: tc filter fw flowid and masks

Marco Gaiarin <[email protected]>
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
Mandi! Salatiel Filho
  In chel di` si favelave...

> But how can i match it using tc filter if the mark using iptables has a mask?

You have to use u32:

	$TC filter add dev $IFACE parent 1:0 protocol ip prio $l \
		u32 match mark $l $MASK flowid 1:$LVLH

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.