From: Peter Rabbitson <rabbit+list@rabbit.us>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] TC basic match problems
Date: Thu, 18 Oct 2007 21:50:46 +0000 [thread overview]
Message-ID: <4717D536.4030607@rabbit.us> (raw)
In-Reply-To: <47162855.3000908@rabbit.us>
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
prev parent reply other threads:[~2007-10-18 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 15:20 [LARTC] TC basic match problems Peter Rabbitson
2007-10-18 20:17 ` Michal Soltys
2007-10-18 21:50 ` Peter Rabbitson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4717D536.4030607@rabbit.us \
--to=rabbit+list@rabbit.us \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.