commit | ed37fea35e16dc35d7519808a90cc64b07267883 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Wed Dec 13 19:35:01 2017 -0800 |
committer | Chenbo Feng <fengc@google.com> | Thu Jan 11 19:06:58 2018 -0800 |
tree | 17218092364535175bd86c976191ad66902dee43 | |
parent | 116d05553da82c68ae76144a9f6472ae6f8a3c1a [diff] |
Add unit test cases for TrafficController The unit test cases use fake eBPF map to verify the behavior of TrafficController API such as tag/untag socket and set counter set. It use four temperary bpf maps to store the result of TrafficController. Bug: 30950746 Test: run netd_unit_test Change-Id: I71ad301475034986ca403a87b81b0cbfc354ae18