From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Rabbitson Date: Thu, 18 Oct 2007 21:50:46 +0000 Subject: Re: [LARTC] TC basic match problems Message-Id: <4717D536.4030607@rabbit.us> List-Id: References: <47162855.3000908@rabbit.us> In-Reply-To: <47162855.3000908@rabbit.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Michal Soltys wrote: > Peter Rabbitson wrote: >> Hello, >> >> I am attempting to match on a single bit of the NF mark value, and >> after hours of reading and googling I can not get the syntax right. It >> got to be something very simple, yet I can't find it. Any help will be >> greatly appreciated. >> > > Hmm > > wouldn't something like: > > tc filter add dev eth0 proto ip prio 1 parent 1:0 u32 match mark 0x80 > 0x80 flowid 1:1 > > suffice ? > It certainly will, granted you have to know that u32 actually supports it (for more than 3 years now). Thanks a ton for the pointer! P.S. Sigh... tc is such a mess... _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc