aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack_helper.h
diff options
context:
space:
mode:
authorMartin Josefsson <gandalf@wlug.westbo.se>2006-11-29 02:34:59 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:31:05 -0800
commit7e5d03bb9d2b96fdeab0cb0c98b93e6cf7130c96 (patch)
tree8214d124da1d3c098b3fcf67f46ef1ec7529cf5d /include/net/netfilter/nf_conntrack_helper.h
parent[NETFILTER]: nf_conntrack: split out expectation handling (diff)
downloadlinux-dev-7e5d03bb9d2b96fdeab0cb0c98b93e6cf7130c96.tar.xz
linux-dev-7e5d03bb9d2b96fdeab0cb0c98b93e6cf7130c96.zip
[NETFILTER]: nf_conntrack: split out helper handling
This patch splits out handling of helpers into its own file nf_conntrack_helper.c Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_helper.h')
-rw-r--r--include/net/netfilter/nf_conntrack_helper.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_helper.h b/include/net/netfilter/nf_conntrack_helper.h
index 3cbd13e22160..fbba9e8b95fc 100644
--- a/include/net/netfilter/nf_conntrack_helper.h
+++ b/include/net/netfilter/nf_conntrack_helper.h
@@ -37,6 +37,16 @@ struct nf_conntrack_helper
int (*to_nfattr)(struct sk_buff *skb, const struct nf_conn *ct);
};
+extern struct nf_conntrack_helper *
+__nf_ct_helper_find(const struct nf_conntrack_tuple *tuple);
+
+extern struct nf_conntrack_helper *
+nf_ct_helper_find_get( const struct nf_conntrack_tuple *tuple);
+
+extern struct nf_conntrack_helper *
+__nf_conntrack_helper_find_byname(const char *name);
+
+extern void nf_ct_helper_put(struct nf_conntrack_helper *helper);
extern int nf_conntrack_helper_register(struct nf_conntrack_helper *);
extern void nf_conntrack_helper_unregister(struct nf_conntrack_helper *);