summaryrefslogtreecommitdiff
path: root/fs/no-block.c
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2012-04-27 12:57:39 -0700
committerJP Abgrall <jpa@google.com>2012-05-04 15:00:40 -0700
commit434b9914eec503fc0eaaa52908765bca6430d22b (patch)
tree166ef3cbb2f25f0c616db5a7314536d8a4c4b749 /fs/no-block.c
parentf109fa626b97c4c7d213bfcd5cdb557a4e87d0ec (diff)
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 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions