summaryrefslogtreecommitdiffstats
path: root/libsysutils/include/sysutils
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-10-03 18:44:11 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-10-05 14:56:44 +0900
commite439ffc762c91fbc1e3512c3b9bad4360102b3a6 (patch)
tree31ffcd7151780a72cca5823c7e2bde24b090f506 /libsysutils/include/sysutils
parent7229576bfed017f78d90102db357de2f9f1f5b45 (diff)
downloadcore-e439ffc762c91fbc1e3512c3b9bad4360102b3a6.tar.gz
core-e439ffc762c91fbc1e3512c3b9bad4360102b3a6.tar.bz2
core-e439ffc762c91fbc1e3512c3b9bad4360102b3a6.zip
Stop depending on libnl.
We only use it for trivial functions. Replace them and drop the dependency. Bug: 67345547 Test: bullhead builds, boots Test: CtsOsTestCases android.os.cts.StrictModeTest passes Change-Id: I36254962284babdd1a55a32a76dd0dc92d85420c
Diffstat (limited to 'libsysutils/include/sysutils')
-rw-r--r--libsysutils/include/sysutils/NetlinkEvent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsysutils/include/sysutils/NetlinkEvent.h b/libsysutils/include/sysutils/NetlinkEvent.h
index b80f3ea44..f9fc11b2b 100644
--- a/libsysutils/include/sysutils/NetlinkEvent.h
+++ b/libsysutils/include/sysutils/NetlinkEvent.h
@@ -64,6 +64,7 @@ public:
bool parseNfPacketMessage(struct nlmsghdr *nh);
bool parseRtMessage(const struct nlmsghdr *nh);
bool parseNdUserOptMessage(const struct nlmsghdr *nh);
+ struct nlattr* findNlAttr(const nlmsghdr* nl, size_t hdrlen, uint16_t attr);
};
#endif