summaryrefslogtreecommitdiff
path: root/include/net/transp_v6.h
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2013-01-31 05:02:24 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-31 22:53:08 +0400
commit73df66f8b1926c59cbc83000af6bf37ecc5509dd (patch)
treeba01e728c33c6fbaaff8c1c10770c10823739bc6 /include/net/transp_v6.h
parent3d6d7ab5881b1d4431529410b949ba2e946f3b0f (diff)
downloadlinux-73df66f8b1926c59cbc83000af6bf37ecc5509dd.tar.xz
ipv6: rename datagram_send_ctl and datagram_recv_ctl
The datagram_*_ctl functions in net/ipv6/datagram.c are IPv6-specific. Since datagram_send_ctl is publicly exported it should be appropriately named to reflect the fact that it's for IPv6 only. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/transp_v6.h')
-rw-r--r--include/net/transp_v6.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h
index 498433dd067d..938b7fd11204 100644
--- a/include/net/transp_v6.h
+++ b/include/net/transp_v6.h
@@ -34,17 +34,17 @@ extern int udpv6_connect(struct sock *sk,
struct sockaddr *uaddr,
int addr_len);
-extern int datagram_recv_ctl(struct sock *sk,
- struct msghdr *msg,
- struct sk_buff *skb);
-
-extern int datagram_send_ctl(struct net *net,
- struct sock *sk,
- struct msghdr *msg,
- struct flowi6 *fl6,
- struct ipv6_txoptions *opt,
- int *hlimit, int *tclass,
- int *dontfrag);
+extern int ip6_datagram_recv_ctl(struct sock *sk,
+ struct msghdr *msg,
+ struct sk_buff *skb);
+
+extern int ip6_datagram_send_ctl(struct net *net,
+ struct sock *sk,
+ struct msghdr *msg,
+ struct flowi6 *fl6,
+ struct ipv6_txoptions *opt,
+ int *hlimit, int *tclass,
+ int *dontfrag);
#define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)