summaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_nat_protocol.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-09-28 21:37:41 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 23:53:32 (GMT)
commitfdf708322d4658daa6eb795d1a835b97efdb335e (patch)
tree101258e5e2316c139106d7d69726b8370c1bc1a2 /include/net/netfilter/nf_nat_protocol.h
parentdf6fb868d6118686805c2fa566e213a8f31c8e4f (diff)
downloadlinux-fsl-qoriq-fdf708322d4658daa6eb795d1a835b97efdb335e.tar.xz
[NETFILTER]: nfnetlink: rename functions containing 'nfattr'
There is no struct nfattr anymore, rename functions to 'nlattr'. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_nat_protocol.h')
-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 90a82de..14c7b2d 100644
--- a/include/net/netfilter/nf_nat_protocol.h
+++ b/include/net/netfilter/nf_nat_protocol.h
@@ -38,10 +38,10 @@ struct nf_nat_protocol
enum nf_nat_manip_type maniptype,
const struct nf_conn *ct);
- int (*range_to_nfattr)(struct sk_buff *skb,
+ int (*range_to_nlattr)(struct sk_buff *skb,
const struct nf_nat_range *range);
- int (*nfattr_to_range)(struct nlattr *tb[],
+ int (*nlattr_to_range)(struct nlattr *tb[],
struct nf_nat_range *range);
};
@@ -62,9 +62,9 @@ extern int init_protocols(void) __init;
extern void cleanup_protocols(void);
extern struct nf_nat_protocol *find_nat_proto(u_int16_t protonum);
-extern int nf_nat_port_range_to_nfattr(struct sk_buff *skb,
+extern int nf_nat_port_range_to_nlattr(struct sk_buff *skb,
const struct nf_nat_range *range);
-extern int nf_nat_port_nfattr_to_range(struct nlattr *tb[],
+extern int nf_nat_port_nlattr_to_range(struct nlattr *tb[],
struct nf_nat_range *range);
#endif /*_NF_NAT_PROTO_H*/