path: root/include
diff options
authorPablo Neira Ayuso <>2008-10-21 19:11:42 +0200
committerPablo Neira Ayuso <>2008-10-21 19:11:42 +0200
commit50162d3c19e38a491d95ec26767438ec25bab0dc (patch)
treeccd81e73eeb254cf6fb9ab00c35be2628fe9bc3a /include
parent6d6ebd1247076c88ceeb8d9528d62cd38a5e909a (diff)
filter: do not filter in user-space if kernel supports BSF
This patch avoids a double filtering in user-space and kernel-space if the kernel support BSF. Since we do not use BSF for dumps and resyncs, we add a new parameter to ignore_conntrack to indicate if we have to perform the filtering in user-space or not. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netlink.h b/include/netlink.h
index 6d28ac6..d13d33d 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -6,7 +6,7 @@
struct nf_conntrack;
struct nfct_handle;
-int ignore_conntrack(struct nf_conntrack *ct);
+int ignore_conntrack(struct nf_conntrack *ct, int userspace);
int nl_init_event_handler(void);