Re: combining 'fw' and 'u32' classfier?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aa haa !!!

Dont know how I missed on that. That precisely look the thing which I
wanted  "u32 match mark 0xABCD 0xffff".

Thanks Andy. Thanks a lot.

On Tue, Aug 11, 2015 at 3:01 PM, Andy Furniss <adf.lists@xxxxxxxxx> wrote:
> Akshat Kakkar wrote:
>>
>> IS there a possibility to combine 'fw' classifier and 'u32'
>> classifier to frame rule like if fw mark is 100 and destination is
>> 8.8.8.8 then do rate limiting by flow id 1:1.
>
>
> Use u32 match mark.
>
> You can do quite complex stuff with the mark match eg. you can work in
> hex in both iptables and u32 match (by putting 0x before the marks).
>
> This allows you to use bitwise commands like or in iptables to modify
> sections of marks that have already been set elsewhere and later in tc
> use masks to look at different bits of a mark.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux