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

Functions

int nl_cache_mngr_alloc (struct nl_sock *sk, int protocol, int flags, struct nl_cache_mngr **result)
 Allocate new cache manager. More...
 
int nl_cache_mngr_add (struct nl_cache_mngr *mngr, const char *name, change_func_t cb, struct nl_cache **result)
 Add cache responsibility to cache manager. More...
 
int nl_cache_mngr_get_fd (struct nl_cache_mngr *mngr)
 Get file descriptor. More...
 
int nl_cache_mngr_poll (struct nl_cache_mngr *mngr, int timeout)
 Check for event notifications. More...
 
int nl_cache_mngr_data_ready (struct nl_cache_mngr *mngr)
 Receive available event notifications. More...
 
void nl_cache_mngr_free (struct nl_cache_mngr *mngr)
 Free cache manager and all caches. More...