Support RDNS on cache and uid/pid tagging

RDNS on local cache

Function that performs RDNS on local cache. Takes
ip address and net id as input and gives domain
name as output.

Tag DNS query

Function that tags the uid and pid of the application
that sends DNS query.

Bug: 131051938
Test: build, flash, boot

Change-Id: I0f3be4ef90e78c85b59b76baa96fb54a21c21d36
diff --git a/server/main.cpp b/server/main.cpp
index cbdc899..7a54de1 100644
--- a/server/main.cpp
+++ b/server/main.cpp
@@ -82,7 +82,7 @@
     gLog.info(std::string(msg));
 }
 
-int tagSocketCallback(int sockFd, uint32_t tag, uid_t uid) {
+int tagSocketCallback(int sockFd, uint32_t tag, uid_t uid, pid_t) {
     return gCtls->trafficCtrl.tagSocket(sockFd, tag, uid, geteuid());
 }