diff options
author | JP Abgrall <jpa@google.com> | 2012-04-27 12:57:39 -0700 |
---|---|---|
committer | Android Partner Code Review <android-gerrit-partner@google.com> | 2012-05-08 12:51:06 -0700 |
commit | 420a95f37b73ecfdd89cd63f83d3369dbc4cb2ab (patch) | |
tree | 02e82e7f7fc9bbbcf497700ffa899fbdc67ac87c /lib/mpi/mpiutil.c | |
parent | 896976df01f561dbbebf47e781d7688a1d617cca (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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions