summaryrefslogtreecommitdiffstats
path: root/include/cache.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-11-25 18:08:02 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-11-25 18:08:02 +0000
commit3c5e35974c65f4470e6543c2cc772c0f1824dc44 (patch)
tree11fd67edbffc4c626af730738465108f965eb863 /include/cache.h
parent66cd168df39bfcf581bb36250a080a66331ee5cd (diff)
Add CacheWriteThrough clause: external cache write through policy. This feature is particularly useful for active-active setup without connection persistency, ie. you cannot know which firewall would filter a packet that belongs to a connection.
Diffstat (limited to 'include/cache.h')
-rw-r--r--include/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index e755dbe..f5e9576 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -14,6 +14,9 @@ enum {
LIFETIME_FEATURE = 2,
LIFETIME = (1 << LIFETIME_FEATURE),
+ WRITE_THROUGH_FEATURE = 3,
+ WRITE_THROUGH = (1 << WRITE_THROUGH_FEATURE),
+
__CACHE_MAX_FEATURE
};
#define CACHE_MAX_FEATURE __CACHE_MAX_FEATURE
@@ -31,6 +34,7 @@ struct cache_feature {
extern struct cache_feature lifetime_feature;
extern struct cache_feature timer_feature;
+extern struct cache_feature writethrough_feature;
#define CACHE_MAX_NAMELEN 32