summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-06-21 12:00:03 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-19 22:58:18 +0000
commit4937431a4ba5896427da077c44404ca70eabb283 (patch)
tree9de28ac9580040d8159c6e8761c148cfc7a884a5 /include
parent409cd572ec72dc610e159e7c74ee289790440255 (diff)
parent9b34293566833ead1d7bac7518e5ccad0d92d61c (diff)
downloadsystem_core-4937431a4ba5896427da077c44404ca70eabb283.zip
system_core-4937431a4ba5896427da077c44404ca70eabb283.tar.gz
system_core-4937431a4ba5896427da077c44404ca70eabb283.tar.bz2
Merge "Improvements to netlink event parsing."
Diffstat (limited to 'include')
-rw-r--r--include/sysutils/NetlinkEvent.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sysutils/NetlinkEvent.h b/include/sysutils/NetlinkEvent.h
index c0a9418..a247a74 100644
--- a/include/sysutils/NetlinkEvent.h
+++ b/include/sysutils/NetlinkEvent.h
@@ -52,8 +52,10 @@ public:
protected:
bool parseBinaryNetlinkMessage(char *buffer, int size);
bool parseAsciiNetlinkMessage(char *buffer, int size);
- bool parseIfAddrMessage(int type, struct ifaddrmsg *ifaddr, int rtasize);
- bool parseNdUserOptMessage(struct nduseroptmsg *msg, int optsize);
+ bool parseIfInfoMessage(const struct nlmsghdr *nh);
+ bool parseIfAddrMessage(const struct nlmsghdr *nh);
+ bool parseUlogPacketMessage(const struct nlmsghdr *nh);
+ bool parseNdUserOptMessage(const struct nlmsghdr *nh);
};
#endif