BlockGuard: bandwidth control: enable and simplify talking to kernel.
This will let the BlockGuard attempt to set tags.
For now, it will silently do nothing if the needed
/proc/net/xt_qtaguid/ctrl
file is not available.
It distinguishes "t"agging from "u"ntagging.
For now, it does not pass down the tag as a string, but just its hash.
It doesn't attempt to control the module when nothing needs doing.
This needs the kernel with the new xt_qtaguid netfilter module.
And the new system/netd bandwidth management support that sets up the
iptables.
Change-Id: Ie20def02f8d6aa4b67249f1b46ec5aefb9396305
1 file changed