From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Soltys Date: Thu, 18 Oct 2007 20:17:31 +0000 Subject: Re: [LARTC] TC basic match problems Message-Id: <4717BF5B.8000301@ziu.info> 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 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 ? > > root@Arzamas:/etc/init.d# tc filter add dev wan_b protocol ip prio 2 > parent 1:0 basic match meta\(nf_mark mask 0x80 eq 0x80\) flowid 1:0x80 > RTNETLINK answers: No such file or directory > We have an error talking to the kernel Are required modules loaded and/or options compiled ? The syntax seems fine. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc