Add qtaguid support into TrafficController
Redirect the qtaguid related request to netd TrafficController through
Fwmark server. The TrafficController will handle the request differently
depend on the kernel version. For now the eBPF implementation is
temperarily turned of since the kernel and selinux support is not ready
yet. The actaul qtaguid userspace implementation is moved to libqtaguid
and TrafficController will use that library to intereact with xt_qtaguid
kernel module.
Test: Cts test for TrafficStats should pass
Bug: 30950746
Change-Id: I6dd97da49168a4724e76537a270d10ff26991808
diff --git a/server/TrafficController.h b/server/TrafficController.h
index bbb3640..f0ab694 100644
--- a/server/TrafficController.h
+++ b/server/TrafficController.h
@@ -170,6 +170,7 @@
* monitoring the traffic on egress side.
*/
int mOutProgFd;
+ bool ebpfSupported;
};
} // namespace net