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

#include <cache.h>

Collaboration diagram for cache:

Data Fields

char name [CACHE_MAX_NAMELEN]
 
enum cache_type type
 
struct hashtableh
 
unsigned int num_features
 
struct cache_feature ** features
 
unsigned int feature_type [CACHE_MAX_FEATURE]
 
unsigned int * feature_offset
 
struct cache_opsops
 
struct cache_extraextra
 
unsigned int extra_offset
 
size_t object_size
 
struct {
   uint32_t   active
 
   uint32_t   add_ok
 
   uint32_t   del_ok
 
   uint32_t   upd_ok
 
   uint32_t   add_fail
 
   uint32_t   del_fail
 
   uint32_t   upd_fail
 
   uint32_t   add_fail_enomem
 
   uint32_t   add_fail_enospc
 
   uint32_t   del_fail_enoent
 
   uint32_t   upd_fail_enoent
 
   uint32_t   commit_ok
 
   uint32_t   commit_fail
 
   uint32_t   flush
 
   uint32_t   objects
 
stats
 

Field Documentation

uint32_t cache::active
uint32_t cache::add_fail
uint32_t cache::add_fail_enomem
uint32_t cache::add_fail_enospc

Referenced by cache_add(), and cache_stats_extended().

uint32_t cache::add_ok
uint32_t cache::commit_fail
uint32_t cache::commit_ok
uint32_t cache::del_fail
uint32_t cache::del_fail_enoent

Referenced by cache_stats_extended().

uint32_t cache::del_ok
struct cache_extra* cache::extra

Referenced by cache_create(), and cache_update().

unsigned int cache::extra_offset
unsigned int* cache::feature_offset

Referenced by cache_create(), and cache_destroy().

unsigned int cache::feature_type[CACHE_MAX_FEATURE]

Referenced by cache_create().

struct cache_feature** cache::features
uint32_t cache::flush

Referenced by cache_flush().

char cache::name[CACHE_MAX_NAMELEN]
unsigned int cache::num_features

Referenced by cache_create(), and cache_update().

size_t cache::object_size

Referenced by cache_create(), and cache_object_new().

uint32_t cache::objects
enum cache_type cache::type
uint32_t cache::upd_fail
uint32_t cache::upd_fail_enoent

Referenced by cache_stats_extended().

uint32_t cache::upd_ok

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