summaryrefslogtreecommitdiff
path: root/include/netlink.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:51:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:51:18 +0100
commit8d689ebb67c511f5c03acdfc2226156d5f87c319 (patch)
treec07a21e06e1b58b5ebc4cb11f28e96102064b251 /include/netlink.h
parente6732c96ffd9baaaa84dab763ff6e600bf6abc95 (diff)
downloadconntrack-tools-8d689ebb67c511f5c03acdfc2226156d5f87c319.tar.gz
conntrack-tools-8d689ebb67c511f5c03acdfc2226156d5f87c319.zip
cache: mangle timeout inside nl_*_conntrack() functions
This patch moves the timeout mangling inside nl_*_conntrack(). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/netlink.h')
-rw-r--r--include/netlink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netlink.h b/include/netlink.h
index d8a4fef..9d67165 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -17,8 +17,8 @@ void nl_resize_socket_buffer(struct nfct_handle *h);
int nl_dump_conntrack_table(struct nfct_handle *h);
int nl_flush_conntrack_table(struct nfct_handle *h);
int nl_get_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct);
-int nl_create_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct);
-int nl_update_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct);
+int nl_create_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct, int timeout);
+int nl_update_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct, int timeout);
int nl_destroy_conntrack(struct nfct_handle *h, const struct nf_conntrack *ct);
static inline int ct_is_related(const struct nf_conntrack *ct)