summaryrefslogtreecommitdiffstats
path: root/include/netlink-private
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2015-11-02 22:05:24 (GMT)
committerThomas Haller <thaller@redhat.com>2016-07-08 10:02:07 (GMT)
commite8abec0b4c6dcb2af752202fb022b89de0442234 (patch)
tree7271a4b61a1efadad9696c7543285fe1a6a52089 /include/netlink-private
parent656f381ccf58785319bb0236595c896125d33ed0 (diff)
downloadlibnl-e8abec0b4c6dcb2af752202fb022b89de0442234.zip
libnl-e8abec0b4c6dcb2af752202fb022b89de0442234.tar.gz
libnl-e8abec0b4c6dcb2af752202fb022b89de0442234.tar.bz2
nl_object: add new ce_msgflags field to nl_object
This patch adds a new flag ce_msgflags to nl_object and adds a first user of this flag, the route object. This enables the route cache to make proper cache inclusion decisions based on netlink msg flags like NLM_F_APPEND, NLM_F_REPLACE Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Diffstat (limited to 'include/netlink-private')
-rw-r--r--include/netlink-private/object-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-private/object-api.h b/include/netlink-private/object-api.h
index 517e672..a5ecaa1 100644
--- a/include/netlink-private/object-api.h
+++ b/include/netlink-private/object-api.h
@@ -190,6 +190,7 @@ extern "C" {
struct nl_cache * ce_cache; \
struct nl_list_head ce_list; \
int ce_msgtype; \
+ int ce_msgflags; \
int ce_flags; \
uint64_t ce_mask;