--set-dscp value?

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

 



Hello all.

I am planning to do routing based on DSCP Local Use values.

Now, I've put in the values in rt_dsfield e.g.:

...
0x3c  LU03
0x4c  LU04
...

However, when I use --set-dscp 0x4c, iptables complained that 'the
value is greater than 64' (or something to that effect).

Based on analysis of values in rt_dsfield, it seems iproute2 includes
the ECN bits as LSBs '00' in its DSCP value definition.

Will I be okay if I just do a '>> 2' to refer to the similar LUxx in
iptables --set-dscp?

Thanks.

Rgds,


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux