iproute2/ip
Masatake YAMATO 577e5a53fc iproute: Show default type, table, proto and scope of route
In "ip route show" output unicast type, main table, boot protocol and
universe scope are hidden as default labels.

Sometimes it is helpful to show the hidden label for people not enough
familiar with routing subsystem to map the output of "ip route show" and
kernel source code.

With this patch "ip route show" with -d option shows the default labels.

Example of difference of output with -d option:

    $ ./ip/ip -4   route show table all dev virbr1
    ...
    192.168.121.0/28  proto kernel  scope link  src 192.168.121.1
    ...
    $ ./ip/ip -4 -d  route show table all dev virbr1
    ...
    unicast 192.168.121.0/28  table main  proto kernel  scope link  src 192.168.121.1
    ...

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
2014-03-21 14:21:26 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile iplink: add support for bonding slave 2014-02-17 10:53:34 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ip6tunnel.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
ip_common.h introduce support for slave info data 2014-02-17 10:53:33 -08:00
ipaddress.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipaddrlabel.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipl2tp.c iproute2: add l2spec_type param to l2tp add session 2013-03-27 13:20:58 -07:00
iplink.c introduce support for slave info data 2014-02-17 10:53:33 -08:00
iplink_bond.c iplink_bond: fix parameter value matching 2014-02-17 10:58:56 -08:00
iplink_bond_slave.c iplink_bond_slave: show mii_status only once 2014-02-28 10:13:46 -08:00
iplink_can.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
iplink_hsr.c ip: Add HSR support 2013-12-20 08:33:19 -08:00
iplink_ipoib.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_macvlan.c macvlan: fix typo in macvlan_print_opt() 2013-08-31 10:30:11 -07:00
iplink_macvtap.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_vlan.c ip: iplink_vlan: add 802.1ad support 2013-06-21 08:59:24 -07:00
iplink_vxlan.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
ipmaddr.c ipmaddr: add whitespace around = 2013-03-14 13:44:25 -07:00
ipmonitor.c add ability to filter neighbour discovery by protocol 2013-08-29 12:18:52 -07:00
ipmroute.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipneigh.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipnetconf.c Merge branch 'master' into net-next-for-3.13 2014-01-09 22:44:17 -08:00
ipnetns.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
ipntable.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
ipprefix.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
iproute.c iproute: Show default type, table, proto and scope of route 2014-03-21 14:21:26 -07:00
iprule.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
iptoken.c ip: ipv6: add tokenized interface identifier support 2013-05-03 13:17:21 -07:00
iptunnel.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
iptuntap.c iptuntap: allow creation of multi-queue tun/tap device 2013-05-24 08:12:52 -07:00
ipxfrm.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
link_gre.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
link_gre6.c iproute2: GRE over IPv6 tunnel support. 2013-09-30 21:33:55 -07:00
link_ip6tnl.c ip: add missing help about mode argument 2013-05-03 12:29:22 -07:00
link_iptnl.c iproute2: spelling: noptmudisc -> nopmtudisc 2013-08-31 10:30:03 -07:00
link_veth.c iproute: Make it possible to specify index on link creation 2013-12-28 11:24:11 -08:00
link_vti.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c ip: make local functions static 2013-02-12 11:38:35 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00
tcp_metrics.c tcp_metrics: Allow removal based on the source-IP 2014-02-10 14:46:11 -08:00
tunnel.c Remove trailing whitespace 2014-02-17 10:55:31 -08:00
tunnel.h Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm.h Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm_monitor.c Fix FSF address in file headers 2013-12-06 15:05:07 -08:00
xfrm_policy.c kill spaces before tabs 2014-02-17 10:56:31 -08:00
xfrm_state.c kill spaces before tabs 2014-02-17 10:56:31 -08:00