On 6/12/19 10:01 AM, Roman Mashak wrote: > Hangbin Liu <liuhang...@gmail.com> writes: > >> Add a new parameter '-Numeric' to show the number of protocol, scope, >> dsfield, etc directly instead of converting it to human readable name. >> Do the same on tc and ss. >> >> This patch is based on David Ahern's previous patch. >> > > [...] > > It would be good idea to specify the numerical format, e.g. hex or dec, > very often hex is more conveninet representation (for example, when > skbmark is encoded of IP address or such). > > Could you think of extending it '-Numeric' to have an optional argument > hex, and use decimal as default. >
I do not see how such an option could work. It would be best for iproute2 commands to output fields as hex or decimal based on what makes sense for each. That said, I do not see how this patch affects fields such as skbmark. Can you give an example? The patch looks fine to me.