author | JP Abgrall <jpa@google.com> | |
Tue, 29 Jan 2013 00:50:44 +0000 (16:50 -0800) | ||
committer | Arve Hjønnevåg <arve@android.com> | |
Wed, 20 Feb 2013 01:56:18 +0000 (17:56 -0800) | ||
commit | 795297ef2a8480403722baae248c2bb180da917d | |
tree | 10434dcb380ac53584912f3920323394bbdc0d7f | tree | snapshot (tar.xz tar.gz zip) |
parent | 4373bbc2bb1cc94c4e5711148bd134fe4cebd34a | commit | diff |
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>
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 | diff | blob | history | |
net/netfilter/xt_qtaguid_internal.h | diff | blob | history | |
net/netfilter/xt_qtaguid_print.c | diff | blob | history |