aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-08 01:30:08 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:17:42 -0400
commitac565e5fc104fe1842a87f2206fcfb7b6dda903d (patch)
tree6d5241eb5b8061cfd2019977dcd619c2797a06ab /include
parent330f7db5e578e1e298ba3a41748e5ea333a64a2b (diff)
[NETFILTER]: nf_conntrack: export hash allocation/destruction functions
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_conntrack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h
index ef4a403878a3..8f2cbb965f3d 100644
--- a/include/net/netfilter/nf_conntrack.h
+++ b/include/net/netfilter/nf_conntrack.h
@@ -172,6 +172,10 @@ static inline void nf_ct_put(struct nf_conn *ct)
172extern int nf_ct_l3proto_try_module_get(unsigned short l3proto); 172extern int nf_ct_l3proto_try_module_get(unsigned short l3proto);
173extern void nf_ct_l3proto_module_put(unsigned short l3proto); 173extern void nf_ct_l3proto_module_put(unsigned short l3proto);
174 174
175extern struct hlist_head *nf_ct_alloc_hashtable(int *sizep, int *vmalloced);
176extern void nf_ct_free_hashtable(struct hlist_head *hash, int vmalloced,
177 int size);
178
175extern struct nf_conntrack_tuple_hash * 179extern struct nf_conntrack_tuple_hash *
176__nf_conntrack_find(const struct nf_conntrack_tuple *tuple, 180__nf_conntrack_find(const struct nf_conntrack_tuple *tuple,
177 const struct nf_conn *ignored_conntrack); 181 const struct nf_conn *ignored_conntrack);