netfilter: nat: un-export nf_nat_used_tuple
Not used since 203f2e7820
("netfilter: nat: remove l4proto->unique_tuple")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
0fb4d21956
commit
472caa6918
@ -47,10 +47,6 @@ extern unsigned int nf_nat_alloc_null_binding(struct nf_conn *ct,
|
|||||||
|
|
||||||
struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct);
|
struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct);
|
||||||
|
|
||||||
/* Is this tuple already taken? (not by us)*/
|
|
||||||
int nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple,
|
|
||||||
const struct nf_conn *ignored_conntrack);
|
|
||||||
|
|
||||||
static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct)
|
static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_NF_NAT) || defined(CONFIG_NF_NAT_MODULE)
|
#if defined(CONFIG_NF_NAT) || defined(CONFIG_NF_NAT_MODULE)
|
||||||
|
@ -146,7 +146,7 @@ hash_by_src(const struct net *n, const struct nf_conntrack_tuple *tuple)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Is this tuple already taken? (not by us) */
|
/* Is this tuple already taken? (not by us) */
|
||||||
int
|
static int
|
||||||
nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple,
|
nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple,
|
||||||
const struct nf_conn *ignored_conntrack)
|
const struct nf_conn *ignored_conntrack)
|
||||||
{
|
{
|
||||||
@ -161,7 +161,6 @@ nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple,
|
|||||||
nf_ct_invert_tuple(&reply, tuple);
|
nf_ct_invert_tuple(&reply, tuple);
|
||||||
return nf_conntrack_tuple_taken(&reply, ignored_conntrack);
|
return nf_conntrack_tuple_taken(&reply, ignored_conntrack);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(nf_nat_used_tuple);
|
|
||||||
|
|
||||||
static bool nf_nat_inet_in_range(const struct nf_conntrack_tuple *t,
|
static bool nf_nat_inet_in_range(const struct nf_conntrack_tuple *t,
|
||||||
const struct nf_nat_range2 *range)
|
const struct nf_nat_range2 *range)
|
||||||
|
Loading…
Reference in New Issue
Block a user