summaryrefslogtreecommitdiff
path: root/include/netlink/cache-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink/cache-api.h')
-rw-r--r--include/netlink/cache-api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netlink/cache-api.h b/include/netlink/cache-api.h
index aa5eeb6..ccb4098 100644
--- a/include/netlink/cache-api.h
+++ b/include/netlink/cache-api.h
@@ -169,6 +169,11 @@ struct nl_parser_param
};
/**
+ * Cache flags
+ */
+#define NL_CACHE_AF_ITER 0x0001
+
+/**
* Cache Operations
*
* This structure defines the characterstics of a cache type. It contains
@@ -189,6 +194,9 @@ struct nl_cache_ops
/** cache object hash size **/
int co_hash_size;
+ /** cache flags */
+ unsigned int co_flags;
+
/** Group definition */
struct nl_af_group * co_groups;