#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/utils.h>
Functions | |
Cache Operations Sets | |
struct nl_cache_ops * | nl_cache_ops_lookup (const char *name) |
Lookup the set cache operations of a certain cache type. More... | |
struct nl_cache_ops * | nl_cache_ops_associate (int protocol, int msgtype) |
Associate a message type to a set of cache operations. More... | |
struct nl_msgtype * | nl_msgtype_lookup (struct nl_cache_ops *ops, int msgtype) |
Lookup message type cache association. More... | |
void | nl_cache_ops_foreach (void(*cb)(struct nl_cache_ops *, void *), void *arg) |
Call a function for each registered cache operation. More... | |
int | nl_cache_mngt_register (struct nl_cache_ops *ops) |
Register a set of cache operations. More... | |
int | nl_cache_mngt_unregister (struct nl_cache_ops *ops) |
Unregister a set of cache operations. More... | |
Global Cache Provisioning/Requiring | |
void | nl_cache_mngt_provide (struct nl_cache *cache) |
Provide a cache for global use. More... | |
void | nl_cache_mngt_unprovide (struct nl_cache *cache) |
Unprovide a cache for global use. More... | |
struct nl_cache * | nl_cache_mngt_require (const char *name) |
Demand the use of a global cache. More... | |