iproute2/ip
david decotigny 30b557929f iproute2: show counter of carrier on<->off transitions
This patch allows to display the current counter of carrier on<->off
transitions (IFLA_CARRIER_CHANGES, see kernel commit "expose number of
carrier on/off changes"):

  ip -s -s link show dev eth0
  32: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 ...
    link/ether ................. brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast
    125552461  258881   0       0       0       10150
    RX errors: length  crc     frame   fifo    missed
               0        0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    40426119   224444   0       0       0       0
    TX errors: aborted fifo    window  heartbeat transns
               0        0       0       0        3

Tested:
  - kernel with patch "net-sysfs: expose number of carrier on/off
    changes": see "transns" column above
  - kernel wthout the patch: "transns" not displayed (as expected)

Signed-off-by: David Decotigny <decot@googlers.com>
2014-05-09 12:13:12 -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 iproute2: show counter of carrier on<->off transitions 2014-05-09 12:13:12 -07: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 iproute2: can: support CAN FD control interface 2014-05-09 12:04:55 -07: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 veth: Handle flags correctry 2014-04-11 17:44:48 -07: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 ipxfrm: allow to setup filter when dumping SA 2014-03-21 14:24:41 -07:00