diff options
author | Patrick McHardy <kaber@trash.net> | 2007-07-08 01:30:08 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:17:42 -0400 |
commit | ac565e5fc104fe1842a87f2206fcfb7b6dda903d (patch) | |
tree | 6d5241eb5b8061cfd2019977dcd619c2797a06ab /include/net | |
parent | 330f7db5e578e1e298ba3a41748e5ea333a64a2b (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/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 4 |
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) | |||
172 | extern int nf_ct_l3proto_try_module_get(unsigned short l3proto); | 172 | extern int nf_ct_l3proto_try_module_get(unsigned short l3proto); |
173 | extern void nf_ct_l3proto_module_put(unsigned short l3proto); | 173 | extern void nf_ct_l3proto_module_put(unsigned short l3proto); |
174 | 174 | ||
175 | extern struct hlist_head *nf_ct_alloc_hashtable(int *sizep, int *vmalloced); | ||
176 | extern void nf_ct_free_hashtable(struct hlist_head *hash, int vmalloced, | ||
177 | int size); | ||
178 | |||
175 | extern struct nf_conntrack_tuple_hash * | 179 | extern 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); |