From: Patrick McHardy <kaber@trash.net>
To: hadi@cyberus.ca
Cc: Frithjof Hammer <mail@frithjof-hammer.de>,
Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [LARTC] ifb and ppp
Date: Fri, 21 Sep 2007 13:56:31 +0200 [thread overview]
Message-ID: <46F3B16F.1060909@trash.net> (raw)
In-Reply-To: <1190373789.4261.16.camel@localhost>
jamal wrote:
> On Thu, 2007-20-09 at 17:26 +0200, Patrick McHardy wrote:
>
>> I don't see a good solution for this that
>>allows to keep the iptables rules, I'd suggest to switch to ematches.
>
>
> One approach could be to use ipt action:
>
> -------------------
> tc filter add dev ppp0 parent ffff: protocol ip u32 match u32/ematch
> some match flowid 1:1 action ipt -j mark --set-mark 1
> ..
> ...
> ....
> iptables here to use the marks ...
This doesn't help much since he uses the iptables marks for
classification on the ifb device, so he might as well just
classify directly using u32. I think it would be nice to
have an ematch equivalent to the ipt action for matches.
Should be pretty easy to write (slightly above 60 seconds
according to the documentation :)).
next prev parent reply other threads:[~2007-09-21 12:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200709191417.43768.mail@frithjof-hammer.de>
2007-09-19 13:04 ` [LARTC] ifb and ppp Patrick McHardy
[not found] ` <200709192342.03646.mail@frithjof-hammer.de>
2007-09-20 11:55 ` Patrick McHardy
2007-09-20 13:19 ` jamal
2007-09-20 14:00 ` Frithjof Hammer
2007-09-20 15:26 ` [LARTC] " Patrick McHardy
2007-09-21 11:23 ` jamal
2007-09-21 11:56 ` Patrick McHardy [this message]
2007-09-21 12:14 ` jamal
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=46F3B16F.1060909@trash.net \
--to=kaber@trash.net \
--cc=hadi@cyberus.ca \
--cc=mail@frithjof-hammer.de \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).