search for: 0b0001111111110000

Displaying 1 result from an estimated 1 matches for "0b0001111111110000".

2007 Oct 19
3
Tc Filter - Port Ranges Calculate Mask Value
Hi, I need to support port ranges in tc filter rules. I know how to formulate the rule but , I am not able to understand how to calculate the mask value for a perticular range so as to segregate the port values that lie within this range . I got the following sample "tc filter add dev eth1 parent 1:1 protocol ip prio 10 u32 match ip sport 0x1ae0 0x1ff0 flowid 1:10 This rule will match all