diff options
author | JP Abgrall <jpa@google.com> | 2011-07-15 22:27:28 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2011-07-21 18:04:46 -0700 |
commit | c477e60b6689d36121f7cabaea449c4014705078 (patch) | |
tree | e3c5cfa0ba6719df014d7fb14c5ff289fbb778ce /ipc | |
parent | f0e215b07c40e8fbf4ae842d8b33f4a285c0b3e1 (diff) |
netfilter: qtaguid: add tag delete command, expand stats output.
* Add a new ctrl command to delete stored data.
d <acct_tag> [<uid>]
The uid will default to the running process's.
The accounting tag can be 0, in which case all counters and socket tags
associated with the uid will be cleared.
* Simplify the ctrl command handling at the expense of duplicate code.
This should make it easier to maintain.
* /proc/net/xt_qtaguid/stats now returns more stats
idx iface acct_tag_hex uid_tag_int
{rx,tx}_{bytes,packets}
{rx,tx}_{tcp,udp,other}_{bytes,packets}
the {rx,tx}_{bytes,packets} are the totals.
* re-tagging will now allow changing the uid.
Change-Id: I9594621543cefeab557caa3d68a22a3eb320466d
Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions