summaryrefslogtreecommitdiffstats
path: root/include/netlink-private
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2016-06-18 22:30:08 (GMT)
committerThomas Haller <thaller@redhat.com>2016-07-08 10:02:07 (GMT)
commit6b15d040dcccf41d9686387fa6072f138e9c22e8 (patch)
treea86af50d1da21ccbb05a3be9c7d72470f6d61683 /include/netlink-private
parente8abec0b4c6dcb2af752202fb022b89de0442234 (diff)
downloadlibnl-6b15d040dcccf41d9686387fa6072f138e9c22e8.zip
libnl-6b15d040dcccf41d9686387fa6072f138e9c22e8.tar.gz
libnl-6b15d040dcccf41d9686387fa6072f138e9c22e8.tar.bz2
cache: add new NL_OBJ_DUMP cache flag (ce_flags)
kernel does not include NLM_F_APPEND or NLM_F_REPLACE flags during dumps. This flag helps distinguish object cache inclusion due to netlink dumps from those resulting from netlink notifications. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Diffstat (limited to 'include/netlink-private')
-rw-r--r--include/netlink-private/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h
index 0f67ddd..ad1a6d0 100644
--- a/include/netlink-private/types.h
+++ b/include/netlink-private/types.h
@@ -114,6 +114,7 @@ struct nl_parser_param;
#define ID_COMPARISON 2
#define NL_OBJ_MARK 1
+#define NL_OBJ_DUMP 2 /* object received due to a dump */
struct nl_data
{