diff options
author | JP Abgrall <jpa@google.com> | 2012-04-27 12:57:39 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2012-05-04 15:00:40 -0700 |
commit | 434b9914eec503fc0eaaa52908765bca6430d22b (patch) | |
tree | 166ef3cbb2f25f0c616db5a7314536d8a4c4b749 /net/mac80211 | |
parent | f109fa626b97c4c7d213bfcd5cdb557a4e87d0ec (diff) | |
download | kernel_samsung_aries-434b9914eec503fc0eaaa52908765bca6430d22b.zip kernel_samsung_aries-434b9914eec503fc0eaaa52908765bca6430d22b.tar.gz kernel_samsung_aries-434b9914eec503fc0eaaa52908765bca6430d22b.tar.bz2 |
netfilter: xt_qtaguid: start tracking iface rx/tx at low level
qtaguid tracks the device stats by monitoring when it goes up and down,
then it gets the dev_stats().
But devs don't correctly report stats (either they don't count headers
symmetrically between rx/tx, or they count internal control messages).
Now qtaguid counts the rx/tx bytes/packets during raw:prerouting and
mangle:postrouting (nat is not available in ipv6).
The results are in
/proc/net/xt_qtaguid/iface_stat_fmt
which outputs a format line (bash expansion):
ifname total_skb_{rx,tx}_{bytes,packets}
Added event counters for pre/post handling.
Added extra ctrl_*() pid/uid debugging.
Change-Id: Id84345d544ad1dd5f63e3842cab229e71d339297
Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions