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)
committerJP Abgrall <jpa@google.com>
Tue, 20 Sep 2011 16:44:41 +0000 (09:44 -0700)
commit1d1fa838ddbf63200e9268969af0096c7f4e7685
tree731128c54ad30a572dd664da4b782b389f1f5b6a
parent5ea3a7c6c63a2d9a5abc569696fb9d3e82a31c8d
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