21 февраля 2016 г.
Как сконвертировать TOS в DSCP
ToS dec | ToS hex | ToS bin | ToS Prec. (bin) | ToS Prec. (dec) | ToS Delay Flag | ToS Throgh- | ToS Relia- | DSCP bin | DSCP hex | DSCP dec | DSCP Class |
put Flag | bility FLag | ||||||||||
0 | 0×00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0×00 | 0 | none |
32 | 0×20 | 100000 | 1 | 1 | 0 | 0 | 0 | 1000 | 0×08 | 8 | cs1 |
40 | 0×28 | 101000 | 1 | 1 | 0 | 1 | 0 | 1010 | 0x0A | 10 | af11 |
48 | 0×30 | 110000 | 1 | 1 | 1 | 0 | 0 | 1100 | 0x0C | 12 | af12 |
56 | 0×38 | 111000 | 1 | 1 | 1 | 1 | 0 | 1110 | 0x0E | 14 | af13 |
64 | 0×40 | 1000000 | 10 | 2 | 0 | 0 | 0 | 10000 | 0×10 | 16 | cs2 |
72 | 0×48 | 1001000 | 10 | 2 | 0 | 1 | 0 | 10010 | 0×12 | 18 | af21 |
80 | 0×50 | 1010000 | 10 | 2 | 1 | 0 | 0 | 10100 | 0×14 | 20 | af22 |
88 | 0×58 | 1011000 | 10 | 2 | 1 | 1 | 0 | 10110 | 0×16 | 22 | af23 |
96 | 0×60 | 1100000 | 11 | 3 | 0 | 0 | 0 | 11000 | 0×18 | 24 | cs3 |
104 | 0×68 | 1101000 | 11 | 3 | 0 | 1 | 0 | 11010 | 0x1A | 26 | af31 |
112 | 0×70 | 1110000 | 11 | 3 | 1 | 0 | 0 | 11100 | 0x1C | 28 | af32 |
120 | 0×78 | 1111000 | 11 | 3 | 1 | 1 | 0 | 11110 | 0x1E | 30 | af33 |
128 | 0×80 | 10000000 | 100 | 4 | 0 | 0 | 0 | 100000 | 0×20 | 32 | cs4 |
136 | 0×88 | 10001000 | 100 | 4 | 0 | 1 | 0 | 100010 | 0×22 | 34 | af41 |
144 | 0×90 | 10010000 | 100 | 4 | 1 | 0 | 0 | 100100 | 0×34 | 36 | af42 |
152 | 0×98 | 10011000 | 100 | 4 | 1 | 1 | 0 | 100110 | 0×26 | 38 | af43 |
160 | 0xA0 | 10100000 | 101 | 5 | 0 | 0 | 0 | 101000 | 0×28 | 40 | cs5 |
184 | 0xB8 | 10111000 | 101 | 5 | 1 | 1 | 0 | 101110 | 0x2E | 46 | ef |
192 | 0xC0 | 11000000 | 110 | 6 | 0 | 0 | 0 | 110000 | 0×30 | 48 | cs6 |
224 | 0xE0 | 11100000 | 111 | 7 | 0 | 0 | 0 | 111000 | 0×38 | 56 | cs7 |