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 Sutter <p...@nwl.cc> > Signed-off-by: Hangbin Liu <liuhang...@gmail.com> > --- > include/utils.h | 1 + > ip/ip.c | 6 +++++- > ip/rtm_map.c | 6 ++++++ > lib/inet_proto.c | 2 +- > lib/ll_proto.c | 2 +- > lib/ll_types.c | 3 ++- > lib/rt_names.c | 18 ++++++++++-------- > man/man8/ip.8 | 6 ++++++ > man/man8/tc.8 | 6 ++++++ > misc/ss.c | 15 ++++++--------- > tc/tc.c | 5 ++++- > 11 files changed, 48 insertions(+), 22 deletions(-) >
applied to iproute2-next.Thanks