Add netd support for uid based routing for DNS

DNSProxyListener now supports bionic changes for marking DNS requests
for routing DNS requests with the uid routing rules

Change-Id: Iac9aa1bb14834be6da5e512405f23c6a72dc71ed
diff --git a/SecondaryTableController.h b/SecondaryTableController.h
index 3941ba1..48baa9f 100644
--- a/SecondaryTableController.h
+++ b/SecondaryTableController.h
@@ -20,6 +20,7 @@
 #include <sysutils/FrameworkListener.h>
 
 #include <net/if.h>
+#include "UidMarkMap.h"
 
 #ifndef IFNAMSIZ
 #define IFNAMSIZ 16
@@ -32,7 +33,7 @@
 class SecondaryTableController {
 
 public:
-    SecondaryTableController();
+    SecondaryTableController(UidMarkMap *map);
     virtual ~SecondaryTableController();
 
     int addRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
@@ -50,6 +51,8 @@
 
 
 private:
+    UidMarkMap *mUidMarkMap;
+
     int setUidRule(const char* iface, int uid_start, int uid_end, bool add);
     int setFwmarkRule(const char *iface, bool add);
     int modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix,