[LARTC] tc filtering with fw mark

Linux Advanced Routing and Traffic Control

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

 



Does anyone know if it is possible for a tc filter to match using a mask on the fw mark?
For example a packet may traverse numerous chains, and some chains will mark the first 16 bits, and others will mark the last 16 (by or-ing)

After this, i want tc to be able to filter the packet based only the last 16 bits of the fw mark.
ie if the fw mark is  111111111111111 0000000000001111 then the filter will match, as well as if the fw mark was (say) 0000000000000000 0000000000001111

Thanks
Craig


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