netd: Add support for interface idletimer netlink notifications.
Change-Id: Ifda5b8ecf68533eea42b133dbe0a581b4401ab11
diff --git a/NetlinkManager.h b/NetlinkManager.h
index c8f5507..6515ea4 100644
--- a/NetlinkManager.h
+++ b/NetlinkManager.h
@@ -32,9 +32,11 @@
NetlinkHandler *mUeventHandler;
NetlinkHandler *mRouteHandler;
NetlinkHandler *mQuotaHandler;
+ NetlinkHandler *mIfaceIdleTimerHandler;
int mUeventSock;
int mRouteSock;
int mQuotaSock;
+ int mIfaceIdleTimerSock;
public:
virtual ~NetlinkManager();
@@ -50,6 +52,9 @@
/* This is the nflog group arg that the xt_quota2 neftiler will use. */
static const int NFLOG_QUOTA_GROUP;
+ /* This is the group that the xt_IDLETIMER netfilter will use. */
+ static const int IDLETIMER_GROUP;
+
private:
NetlinkManager();
NetlinkHandler* setupSocket(int *sock, int netlinkFamily, int groups,