diff options
author | Tom Parkin <tparkin@katalix.com> | 2013-01-31 01:02:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-31 13:53:08 -0500 |
commit | 73df66f8b1926c59cbc83000af6bf37ecc5509dd (patch) | |
tree | ba01e728c33c6fbaaff8c1c10770c10823739bc6 /include/net/transp_v6.h | |
parent | 3d6d7ab5881b1d4431529410b949ba2e946f3b0f (diff) | |
download | op-kernel-dev-73df66f8b1926c59cbc83000af6bf37ecc5509dd.zip op-kernel-dev-73df66f8b1926c59cbc83000af6bf37ecc5509dd.tar.gz |
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.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index 498433d..938b7fd 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) |