diff options
| author | Chenbo Feng <fengc@google.com> | 2018-03-13 21:30:49 -0700 |
|---|---|---|
| committer | Chenbo Feng <fengc@google.com> | 2018-03-15 00:06:18 -0700 |
| commit | 5ed179914f300427819e7e92a61abbd57c7c7925 (patch) | |
| tree | 172f9836bd1dba80947e0501ebf82f6295d5feb0 /server/InterfaceControllerTest.cpp | |
| parent | 7e97405ea17a9134bb1b63c41d1d32de003d6bbf (diff) | |
Use xt_bpf module to record the iface stats
To make interface packet accounting more accurately and persistent, the
xt_bpf module is implemented to record the total packets and bytes
tx/rx through each interface. The netd will load the bpf program and
set up iptable rules for the xt_bpf module at boot time and the
framework service will use them to get per interface networks stats on
supported devices. Add logcat support to bpfloader program.
Test: iface stats show up in maps. Iptable rules show up after boot.
Bug: 72111305
Change-Id: Ib33d2b165b64e130999931302dd67891c35a12e9
Diffstat (limited to 'server/InterfaceControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions
