diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-06-11 17:37:12 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-06-21 10:55:07 +0900 |
commit | d7ff7ea65220718398cae1e1aa0005072229b4e7 (patch) | |
tree | ac90523bc7e81c6580b869f74de7e8b8590e4dcc /include | |
parent | 9b34293566833ead1d7bac7518e5ccad0d92d61c (diff) | |
download | system_core-d7ff7ea65220718398cae1e1aa0005072229b4e7.zip system_core-d7ff7ea65220718398cae1e1aa0005072229b4e7.tar.gz system_core-d7ff7ea65220718398cae1e1aa0005072229b4e7.tar.bz2 |
Support parsing netlink route messages.
Bug: 9180552
Change-Id: I4a36d869ac692647fb226d0912285bdf2ffcb1fa
Diffstat (limited to 'include')
-rw-r--r-- | include/sysutils/NetlinkEvent.h | 3 |
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); }; |