Commit Graph

1 Commits

Author SHA1 Message Date
Henning Glawe a2e56f7352 net: support carrier detection and total data transfer rate
- for each interface, read carrier info from sysfs into
  args["{"..name.." carrier}"], 1 means 'link up', 0 'link down'
- the carrier info for the 'total' pseudo-interface is a logical or of
  the carriers of the summed interfaces (i.e. those not contained in
  the ignore list)
- sum rates of all interfaces (except the ones in an ignore list) and
  make them available under the interfacename "total"

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2010-03-15 18:03:44 +01:00