aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-04-14 05:15:47 -0400
committerPatrick McHardy <kaber@trash.net>2008-04-14 05:15:47 -0400
commit535b57c7c1524125444aa1b874332f6ff1608ef5 (patch)
treec127d9bce1b29158343447967c50edd51e357890 /include/net
parent5abd363f738dcd048ee790fb9b84d0768a8a407f (diff)
[NETFILTER]: nf_nat: move NAT ctnetlink helpers to nf_nat_proto_common
Move to nf_nat_proto_common and rename to nf_nat_proto_... since they're also used by protocols that don't have port numbers. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_nat_protocol.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/netfilter/nf_nat_protocol.h b/include/net/netfilter/nf_nat_protocol.h
index fa06f6d0de54..8ce227624eac 100644
--- a/include/net/netfilter/nf_nat_protocol.h
+++ b/include/net/netfilter/nf_nat_protocol.h
@@ -73,9 +73,9 @@ extern int nf_nat_proto_unique_tuple(struct nf_conntrack_tuple *tuple,
73 const struct nf_conn *ct, 73 const struct nf_conn *ct,
74 u_int16_t *rover); 74 u_int16_t *rover);
75 75
76extern int nf_nat_port_range_to_nlattr(struct sk_buff *skb, 76extern int nf_nat_proto_range_to_nlattr(struct sk_buff *skb,
77 const struct nf_nat_range *range); 77 const struct nf_nat_range *range);
78extern int nf_nat_port_nlattr_to_range(struct nlattr *tb[], 78extern int nf_nat_proto_nlattr_to_range(struct nlattr *tb[],
79 struct nf_nat_range *range); 79 struct nf_nat_range *range);
80 80
81#endif /*_NF_NAT_PROTO_H*/ 81#endif /*_NF_NAT_PROTO_H*/