Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-18 Thread David Ahern
On 6/12/19 3:21 AM, Hangbin Liu wrote: > 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. > > Suggested-by: Phil Sutte

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-14 Thread David Ahern
On 6/14/19 1:00 PM, Roman Mashak wrote: > On the 2nd thought: there already exists argument "-raw" for tc which > currently instructs printing handles in hex representation. Why not to > adopt this for ip and ss as well rather then adding new key? show_raw seems to mean dump extra data as opposed

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-14 Thread Roman Mashak
David Ahern writes: > On 6/12/19 10:01 AM, Roman Mashak wrote: >> Hangbin Liu 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

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-14 Thread David Ahern
On 6/12/19 10:01 AM, Roman Mashak wrote: > Hangbin Liu 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 patc

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-13 Thread Hangbin Liu
Hi Roman, On Wed, Jun 12, 2019 at 12:01:20PM -0400, Roman Mashak wrote: > Hangbin Liu 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

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-12 Thread Roman Mashak
Hangbin Liu 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

Re: [iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-12 Thread Hangbin Liu
On Wed, 12 Jun 2019 at 17:21, Hangbin Liu wrote: > > 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. > > Suggested-by:

[iproute2 net-next PATCH] ip: add a new parameter -Numeric

2019-06-12 Thread Hangbin Liu
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. Suggested-by: Phil Sutter Signed-off-by: Hangbin Liu --- include/utils.h