commit | f66d6e9db6be3e94b80c59fab99e237d2e2968c5 | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Fri Apr 27 00:22:57 2012 -0700 |
committer | JP Abgrall <jpa@google.com> | Fri Apr 27 00:22:57 2012 -0700 |
tree | 05b4975a9751c8706e0840e664b46dfac96d708f | |
parent | e07effe6f8e9340dbee9428b29672adfb647c413 [diff] |
BandwidthController: hookup qtaguid for tracking closest to devices. Before, qtaguid would rely on netdev (up/down) callbacks to read out the dev rx/tx stats. Now it uses (raw) PREROUTING and (mangle) POSTROUTING iptable hooks. We use mangle on the out path because nat is not available in ipv6. The NatController only masquerades in nat POSTROUTING so we don't count traffic that might get dropped. Bug: 5444089 Change-Id: I997b8b3c81264a545f1f575baaf0445c0afc8f72