From 1d1624d49fbf3327aa6086f3f3ef256ad796fa75 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org" Date: Mon, 19 Dec 2005 20:46:36 +0000 Subject: Add support for per-family table flushing. ie. flush just AF_INET entries. Towards ipv6 support. --- include/libnetfilter_conntrack/libnetfilter_conntrack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack.h b/include/libnetfilter_conntrack/libnetfilter_conntrack.h index 32daaca..7f0b7e0 100644 --- a/include/libnetfilter_conntrack/libnetfilter_conntrack.h +++ b/include/libnetfilter_conntrack/libnetfilter_conntrack.h @@ -303,7 +303,7 @@ extern int nfct_conntrack_compare(struct nfct_conntrack *ct1, * Expectations */ extern int nfct_dump_expect_list(struct nfct_handle *cth, int family); -extern int nfct_flush_conntrack_table(struct nfct_handle *cth); +extern int nfct_flush_conntrack_table(struct nfct_handle *cth, int family); extern int nfct_get_expectation(struct nfct_handle *cth, struct nfct_tuple *tuple, u_int32_t id); @@ -311,7 +311,7 @@ extern int nfct_create_expectation(struct nfct_handle *cth, struct nfct_expect * extern int nfct_delete_expectation(struct nfct_handle *cth, struct nfct_tuple *tuple, u_int32_t id); extern int nfct_event_expectation(struct nfct_handle *cth); -extern int nfct_flush_expectation_table(struct nfct_handle *cth); +extern int nfct_flush_expectation_table(struct nfct_handle *cth, int family); /* * expectation printing functions -- cgit v1.2.3