]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/ss.c
ss: Identify more netlink protocol names
authorvadimk <vadim4j@gmail.com>
Thu, 30 Oct 2014 15:33:36 +0000 (17:33 +0200)
committerStephen Hemminger <shemming@brocade.com>
Sat, 29 Nov 2014 19:13:38 +0000 (11:13 -0800)
commiteef43b5052afb781852c5f56596ee439004066ab
tree6e1fc10c39252b7c2d26dc5dcdcd792774adde9d
parent666cdc506f0fb540f123a9ce3d8585b5e9cb9698
ss: Identify more netlink protocol names

There were only few Netlink protocol names
which were printed on the screen:

    rtnl, fw, tcpdiag

So added the ability to identify Netlink proto name
from /etc/iproute/nl_protos or from static table.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
etc/iproute2/nl_protos [new file with mode: 0644]
include/rt_names.h
lib/rt_names.c
misc/ss.c