netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cache_mngt.c File Reference
#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/utils.h>
Include dependency graph for cache_mngt.c:

Functions

Cache Operations Sets
struct nl_cache_opsnl_cache_ops_lookup (const char *name)
 Lookup the set cache operations of a certain cache type. More...
 
struct nl_cache_opsnl_cache_ops_associate (int protocol, int msgtype)
 Associate a message type to a set of cache operations. More...
 
struct nl_msgtypenl_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_cachenl_cache_mngt_require (const char *name)
 Demand the use of a global cache. More...