netfilter: xt_qtaguid: provide an iface_stat_all proc entry
authorJP Abgrall <jpa@google.com>
Tue, 20 Sep 2011 05:54:51 +0000 (22:54 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:07 +0000 (21:39 -0800)
commit21aefc18f6de2ca9675e568cb32174b454d01b8e
tree1c1ffd9bd9a21ff9f7b7ed32923b7402a2dd9f22
parent4f4f89e51ae26f87440f06519e52e107fc1799e8
netfilter: xt_qtaguid: provide an iface_stat_all proc entry

There is a
  /proc/net/xt_qtaguid/iface/<iface>/{rx_bytes,rx_packets,tx_bytes,...}
but for better convenience and to avoid getting overly stale net/dev stats
we now have
  /proc/net/xt_qtaguid/iface_stat_all
which outputs lines of:
  iface_name active rx_bytes rx_packets tx_bytes tx_packets
    net_dev_rx_bytes net_dev_rx_packets net_dev_tx_bytes net_dev_tx_packets

Change-Id: I12cc10d2d123b86b56d4eb489b1d77b2ce72ebcf
Signed-off-by: JP Abgrall <jpa@google.com>
net/netfilter/xt_qtaguid.c
net/netfilter/xt_qtaguid_internal.h
net/netfilter/xt_qtaguid_print.c