summaryrefslogtreecommitdiff
path: root/server/NetworkController.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2017-12-15 13:56:33 -0800
committerChenbo Feng <fengc@google.com>2018-01-11 19:06:50 -0800
commitc10a8a4537a472d37ecceaa9293bf918af88ebb5 (patch)
treeb2c263b0d9f93805e939efce80214177017640d7 /server/NetworkController.cpp
parent164c8966c6bce401907c2f140e8c69452a89d227 (diff)
Rework bpf part of traffic controller
Refine the implementaion of Traffic Controller eBPF module. Fixed several typos and code style. Use unique_fd to replace all the fd involved. Move the bpf helper function to a seperate library so system server can also use it from jni code. Change the map file permission so system_server can also read it. Rework the delete tag data helper function to make it work properly. Pin the bpf program as file so netd can check if cgroup program is attached or not when restart. Test: -m CtsNetTestCases -t android.net.cts.TrafficStatsTest Bug: 30950746 Change-Id: I50fd6a091faab261880afa8e27ebb316871eb4aa
Diffstat (limited to 'server/NetworkController.cpp')
0 files changed, 0 insertions, 0 deletions