summaryrefslogtreecommitdiff
path: root/src/netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 31cee61..9d155aa 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -148,6 +148,11 @@ int nl_dump_conntrack_table(void)
return nfct_query(STATE(dump), NFCT_Q_DUMP, &CONFIG(family));
}
+int nl_flush_conntrack_table(void)
+{
+ return nfct_query(STATE(request), NFCT_Q_FLUSH, &CONFIG(family));
+}
+
int nl_overrun_request_resync(void)
{
int family = CONFIG(family);