]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-common.git/commit
netfilter: xt_qtaguid: extend iface stat to report protocols
authorJP Abgrall <jpa@google.com>
Tue, 29 Jan 2013 00:50:44 +0000 (16:50 -0800)
committerArve Hjønnevåg <arve@android.com>
Wed, 20 Feb 2013 01:56:18 +0000 (17:56 -0800)
commit795297ef2a8480403722baae248c2bb180da917d
tree10434dcb380ac53584912f3920323394bbdc0d7f
parent4373bbc2bb1cc94c4e5711148bd134fe4cebd34a
netfilter: xt_qtaguid: extend iface stat to report protocols

In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
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