diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/cache.h | 4 | ||||
| -rw-r--r-- | include/conntrackd.h | 1 | 
2 files changed, 5 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 diff --git a/include/conntrackd.h b/include/conntrackd.h index fc15ebe..2722f00 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -86,6 +86,7 @@ struct ct_conf {  	int family;			/* protocol family */  	unsigned int resend_buffer_size;/* NACK protocol */  	unsigned int window_size; +	int cache_write_through;  };  #define STATE(x) st.x | 
