summaryrefslogtreecommitdiff
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-05-20 21:13:06 +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-05-20 21:13:06 +0000
commit9f1b4b2d028129966f7e6f23cec6ac0712c2b1b6 (patch)
treed635d4e4ad7dac6918470676bf222f27d21f192e /include/cache.h
parent2932c6b8e6952ae84b221b854b43810c61e5c8fa (diff)
downloadconntrack-tools-9f1b4b2d028129966f7e6f23cec6ac0712c2b1b6.tar.gz
conntrack-tools-9f1b4b2d028129966f7e6f23cec6ac0712c2b1b6.zip
- introduce cache_iterate
- empty debug_ct function if DEBUG_CT is not set - revisit overrun handler: this is a hard battle, just try to do our best here, call Patrick :) - explicit warning message when netlink_buffer_max_growth is reached - fix silly bug in stats-mode when dumping in XML format - fix UDP handler for conntrack
Diffstat (limited to 'include/cache.h')
-rw-r--r--include/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index 7d9559a..e755dbe 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -82,6 +82,7 @@ int cache_test(struct cache *c, struct nf_conntrack *ct);
void cache_stats(struct cache *c, int fd);
struct us_conntrack *cache_get_conntrack(struct cache *, void *);
void *cache_get_extra(struct cache *, void *);
+void cache_iterate(struct cache *c, void *data, int (*iterate)(void *data1, void *data2));
/* iterators */
void cache_dump(struct cache *c, int fd, int type);