diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2015-11-02 22:05:24 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-07-08 10:02:07 (GMT) |
commit | e8abec0b4c6dcb2af752202fb022b89de0442234 (patch) | |
tree | 7271a4b61a1efadad9696c7543285fe1a6a52089 /include | |
parent | 656f381ccf58785319bb0236595c896125d33ed0 (diff) | |
download | libnl-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')
-rw-r--r-- | include/netlink-private/object-api.h | 1 |
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; |