[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46F3B16F.1060909@trash.net>
Date: Fri, 21 Sep 2007 13:56:31 +0200
From: Patrick McHardy <kaber@...sh.net>
To: hadi@...erus.ca
CC: Frithjof Hammer <mail@...thjof-hammer.de>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [LARTC] ifb and ppp
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 :)).
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists