summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-06-21 12:12:46 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-19 22:58:18 +0000
commit25af09e16d463b33a0b6f1b5f28bdc56be895749 (patch)
tree119eb3d55ae76dbd807fc09fd16adb2593ce9b8f /include
parent4937431a4ba5896427da077c44404ca70eabb283 (diff)
parentd7ff7ea65220718398cae1e1aa0005072229b4e7 (diff)
downloadsystem_core-25af09e16d463b33a0b6f1b5f28bdc56be895749.zip
system_core-25af09e16d463b33a0b6f1b5f28bdc56be895749.tar.gz
system_core-25af09e16d463b33a0b6f1b5f28bdc56be895749.tar.bz2
Merge "Support parsing netlink route messages."
Diffstat (limited to 'include')
-rw-r--r--include/sysutils/NetlinkEvent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysutils/NetlinkEvent.h b/include/sysutils/NetlinkEvent.h
index a247a74..c345cdb 100644
--- a/include/sysutils/NetlinkEvent.h
+++ b/include/sysutils/NetlinkEvent.h
@@ -37,6 +37,8 @@ public:
const static int NlActionAddressUpdated;
const static int NlActionAddressRemoved;
const static int NlActionRdnss;
+ const static int NlActionRouteUpdated;
+ const static int NlActionRouteRemoved;
NetlinkEvent();
virtual ~NetlinkEvent();
@@ -55,6 +57,7 @@ public:
bool parseIfInfoMessage(const struct nlmsghdr *nh);
bool parseIfAddrMessage(const struct nlmsghdr *nh);
bool parseUlogPacketMessage(const struct nlmsghdr *nh);
+ bool parseRtMessage(const struct nlmsghdr *nh);
bool parseNdUserOptMessage(const struct nlmsghdr *nh);
};