diff options
author | Patrick McHardy <kaber@trash.net> | 2007-07-08 01:30:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:17:53 -0400 |
commit | 6823645d608541c2c69e8a99454936e058c294e0 (patch) | |
tree | e7b8b9200b4b03b7b787fc55f92c37c19076c225 /net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c | |
parent | 53aba5979e1d964c0234816eda2316f1c2e7946d (diff) |
[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_conntrack_l3proto_ipv4_compat.c')
-rw-r--r-- | net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c index 888f27fd884..12d6a6327b6 100644 --- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c +++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c | |||
@@ -209,7 +209,7 @@ static const struct file_operations ct_file_ops = { | |||
209 | /* expects */ | 209 | /* expects */ |
210 | static void *exp_seq_start(struct seq_file *s, loff_t *pos) | 210 | static void *exp_seq_start(struct seq_file *s, loff_t *pos) |
211 | { | 211 | { |
212 | struct list_head *e = &nf_conntrack_expect_list; | 212 | struct list_head *e = &nf_ct_expect_list; |
213 | loff_t i; | 213 | loff_t i; |
214 | 214 | ||
215 | /* strange seq_file api calls stop even if we fail, | 215 | /* strange seq_file api calls stop even if we fail, |
@@ -221,7 +221,7 @@ static void *exp_seq_start(struct seq_file *s, loff_t *pos) | |||
221 | 221 | ||
222 | for (i = 0; i <= *pos; i++) { | 222 | for (i = 0; i <= *pos; i++) { |
223 | e = e->next; | 223 | e = e->next; |
224 | if (e == &nf_conntrack_expect_list) | 224 | if (e == &nf_ct_expect_list) |
225 | return NULL; | 225 | return NULL; |
226 | } | 226 | } |
227 | return e; | 227 | return e; |
@@ -234,7 +234,7 @@ static void *exp_seq_next(struct seq_file *s, void *v, loff_t *pos) | |||
234 | ++*pos; | 234 | ++*pos; |
235 | e = e->next; | 235 | e = e->next; |
236 | 236 | ||
237 | if (e == &nf_conntrack_expect_list) | 237 | if (e == &nf_ct_expect_list) |
238 | return NULL; | 238 | return NULL; |
239 | 239 | ||
240 | return e; | 240 | return e; |