netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cache_ops Struct Reference

#include <cache.h>

Collaboration diagram for cache_ops:

Data Fields

uint32_t(* hash )(const void *data, const struct hashtable *table)
 
int(* cmp )(const void *data1, const void *data2)
 
void *(* alloc )(void)
 
void(* copy )(void *dst, void *src, unsigned int flags)
 
void(* free )(void *ptr)
 
int(* dump_step )(void *data1, void *n)
 
int(* commit )(struct cache *c, struct nfct_handle *h, int clientfd)
 
struct nethdr *(* build_msg )(const struct cache_object *obj, int type)
 

Field Documentation

void*(* cache_ops::alloc)(void)

Referenced by cache_create(), and cache_object_new().

struct nethdr*(* cache_ops::build_msg)(const struct cache_object *obj, int type)
int(* cache_ops::cmp)(const void *data1, const void *data2)

Referenced by cache_create().

int(* cache_ops::commit)(struct cache *c, struct nfct_handle *h, int clientfd)

Referenced by cache_commit().

void(* cache_ops::copy)(void *dst, void *src, unsigned int flags)
int(* cache_ops::dump_step)(void *data1, void *n)

Referenced by cache_dump().

void(* cache_ops::free)(void *ptr)

Referenced by cache_create(), and cache_object_free().

uint32_t(* cache_ops::hash)(const void *data, const struct hashtable *table)

Referenced by cache_create().


The documentation for this struct was generated from the following file: