summaryrefslogtreecommitdiffstats
path: root/include/sysutils/NetlinkEvent.h
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-10-30 14:51:59 -0700
committerJeff Sharkey <jsharkey@android.com>2015-01-15 12:50:59 -0800
commit9a20e67fa62c1e0e0080910deec4be82ebecc922 (patch)
tree6d8c268d95a26bfecc3e574c9df1eb9dea0f5336 /include/sysutils/NetlinkEvent.h
parent4503a1450ce9b2ed86fd9bd3eb3c34c845e8ed08 (diff)
downloadsystem_core-9a20e67fa62c1e0e0080910deec4be82ebecc922.zip
system_core-9a20e67fa62c1e0e0080910deec4be82ebecc922.tar.gz
system_core-9a20e67fa62c1e0e0080910deec4be82ebecc922.tar.bz2
Extend to receive NFLOG packets.
Packets captured and logged by the NFLOG target are unicast, so extend to catch and decode them. To avoid escaping issues, the raw contents are passed around as hex strings. Bug: 18335678 Change-Id: Ib7299500baa00080a1f000f9da843eb527363353
Diffstat (limited to 'include/sysutils/NetlinkEvent.h')
-rw-r--r--include/sysutils/NetlinkEvent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysutils/NetlinkEvent.h b/include/sysutils/NetlinkEvent.h
index c345cdb..4fa49c5 100644
--- a/include/sysutils/NetlinkEvent.h
+++ b/include/sysutils/NetlinkEvent.h
@@ -57,6 +57,7 @@ public:
bool parseIfInfoMessage(const struct nlmsghdr *nh);
bool parseIfAddrMessage(const struct nlmsghdr *nh);
bool parseUlogPacketMessage(const struct nlmsghdr *nh);
+ bool parseNfPacketMessage(struct nlmsghdr *nh);
bool parseRtMessage(const struct nlmsghdr *nh);
bool parseNdUserOptMessage(const struct nlmsghdr *nh);
};