summaryrefslogtreecommitdiffstats
path: root/include/netlink-types.h
diff options
context:
space:
mode:
authorThomas Graf <tgr@plip.localdomain>2008-10-14 19:26:44 +0200
committerThomas Graf <tgr@plip.localdomain>2008-10-14 19:26:44 +0200
commit23ee46ef7115c2e311c36e43a833e6c3deada18a (patch)
tree60793068d05c482737787baf4619449741a2a23b /include/netlink-types.h
parent5702d4c1b97616f5212da31db01a2f3c79c15b7c (diff)
downloadandroid_external_libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.tar.gz
android_external_libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.tar.bz2
android_external_libnl-23ee46ef7115c2e311c36e43a833e6c3deada18a.zip
Replace NL_KEEP code with proper message reference counting
Adds reference counting to netlink messages so callbacks can hold on to a message without using the broken keep message flag.
Diffstat (limited to 'include/netlink-types.h')
-rw-r--r--include/netlink-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h
index be5fc4e..238b131 100644
--- a/include/netlink-types.h
+++ b/include/netlink-types.h
@@ -129,6 +129,7 @@ struct nl_msg
struct ucred nm_creds;
struct nlmsghdr * nm_nlh;
size_t nm_size;
+ int nm_refcnt;
};
struct rtnl_link_map