summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/nf_nat_amanda.c
diff options
context:
space:
mode:
authorPatrick McHardy2007-07-08 07:30:49 +0200
committerDavid S. Miller2007-07-11 07:17:53 +0200
commit6823645d608541c2c69e8a99454936e058c294e0 (patch)
treee7b8b9200b4b03b7b787fc55f92c37c19076c225 /net/ipv4/netfilter/nf_nat_amanda.c
parent[NETFILTER]: nf_nat: use hlists for bysource hash (diff)
downloadkernel-qcow2-linux-6823645d608541c2c69e8a99454936e058c294e0.tar.gz
kernel-qcow2-linux-6823645d608541c2c69e8a99454936e058c294e0.tar.xz
kernel-qcow2-linux-6823645d608541c2c69e8a99454936e058c294e0.zip
[NETFILTER]: nf_conntrack_expect: function naming unification
Currently there is a wild mix of nf_conntrack_expect_, nf_ct_exp_, expect_, exp_, ... Consistently use nf_ct_ as prefix for exported functions. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/nf_nat_amanda.c')
-rw-r--r--net/ipv4/netfilter/nf_nat_amanda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/nf_nat_amanda.c b/net/ipv4/netfilter/nf_nat_amanda.c
index 0f17098917bc..bd93a1d71052 100644
--- a/net/ipv4/netfilter/nf_nat_amanda.c
+++ b/net/ipv4/netfilter/nf_nat_amanda.c
@@ -45,7 +45,7 @@ static unsigned int help(struct sk_buff **pskb,
/* Try to get same port: if not, try to change it. */
for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) {
exp->tuple.dst.u.tcp.port = htons(port);
- if (nf_conntrack_expect_related(exp) == 0)
+ if (nf_ct_expect_related(exp) == 0)
break;
}
@@ -57,7 +57,7 @@ static unsigned int help(struct sk_buff **pskb,
matchoff, matchlen,
buffer, strlen(buffer));
if (ret != NF_ACCEPT)
- nf_conntrack_unexpect_related(exp);
+ nf_ct_unexpect_related(exp);
return ret;
}