diff options
| author | JP Abgrall <jpa@google.com> | 2012-04-27 12:57:39 -0700 |
|---|---|---|
| committer | Arve Hjønnevåg <arve@android.com> | 2013-07-01 13:40:45 -0700 |
| commit | c90ab94236d5450ebcd8afcd309d22af5eea2a3d (patch) | |
| tree | 8b08a40692333f093d74669081f84c2c9ed77c39 /drivers/pwm/pwm-tegra.c | |
| parent | 2b11da7d0a763db30eb0960f6b11746255520469 (diff) | |
| download | olio-linux-3.10-c90ab94236d5450ebcd8afcd309d22af5eea2a3d.tar.xz olio-linux-3.10-c90ab94236d5450ebcd8afcd309d22af5eea2a3d.zip | |
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 'drivers/pwm/pwm-tegra.c')
0 files changed, 0 insertions, 0 deletions