[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>
This commit is contained in:
committed by
David S. Miller
parent
330f7db5e5
commit
ac565e5fc1
@@ -172,6 +172,10 @@ static inline void nf_ct_put(struct nf_conn *ct)
|
||||
extern int nf_ct_l3proto_try_module_get(unsigned short l3proto);
|
||||
extern void nf_ct_l3proto_module_put(unsigned short l3proto);
|
||||
|
||||
extern struct hlist_head *nf_ct_alloc_hashtable(int *sizep, int *vmalloced);
|
||||
extern void nf_ct_free_hashtable(struct hlist_head *hash, int vmalloced,
|
||||
int size);
|
||||
|
||||
extern struct nf_conntrack_tuple_hash *
|
||||
__nf_conntrack_find(const struct nf_conntrack_tuple *tuple,
|
||||
const struct nf_conn *ignored_conntrack);
|
||||
|
||||
Reference in New Issue
Block a user