Keywords: Differentiated Services, DifServ, TOS, I know how to display the column: Field Name: ip.dsfield.dscp How do we force that output to display in DEC (decimal) or HEX or even BIN if wanted? William... asked 17 Apr '14, 08:44 WAudette |
One Answer:
For changing the value from hex to decimal, I don't believe there's any way to toggle that for a given field type in Wireshark. TOS/DSCP does have a preference for switching between two formats, but not a preference for changing the field from hex to decimal. Personally I'd prefer the IETF notation (AF12, EF, etc.). This seems to be controlled around the 2,000 line mark in the packet-ip.c file in Wireshark's source code:
answered 17 Apr ‘14, 18:26 Quadratic edited 17 Apr ‘14, 18:27 |
Hi William,
That’s a great question and yes, it’s tough to find the answer.
Essentially, you to add an “IP DSCP Value” column. Remember that there are two ways to add columns – you can right click on the DSCP line in an IP header and choose Apply Column. You can also choose Preferences | Columns. That’s what you want to do to see the IP DSCP value in decimal.
In the Preferences | Columns area, click Add. Select IP DSCP Value for the field type. Click on the Title column to enter a new name. Click anywhere in the white space before clicking OK (this gets you out of edit mode).
Let me know if that doesn’t work for you!
Laura Chappell