On Thu, 2 May 2013, Dave Taht wrote:

1) I think there's a bug in either the kernel or tc or me on tos matching,

Taking a guess here...

The TOS byte is 8 bytes. So EF is 46, which is 0x2e, and then you need to left-shift it 2 bits because it's the most significant 6 bits, you get 0xb8 (if my early morning pre-breakfast hex calculations are correct). Try matching on that and see if it works.

Some programs use the whole TOS byte, some just do the 6 DSCP bits. I usually end up using tcpdump to see on the wire what the program actually does.

--
Mikael Abrahamsson    email: [email protected]
_______________________________________________
Cerowrt-devel mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cerowrt-devel

Reply via email to