diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-03 17:22:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-03 17:22:32 -0400 |
commit | 3d58b5fa8e4c461ab09afdacd3d1754fccca06ad (patch) | |
tree | b5793c1cc2f0d41657c5e5d101cc00e07c515a60 /include | |
parent | 4f049b4f33d07bd11335c3a074ebef14213a3e37 (diff) |
[INET]: Rename inet_csk_ctl_sock_create to inet_ctl_sock_create.
This call is nothing common with INET connection sockets code. It
simply creates an unhashes kernel sockets for protocol messages.
Move the new call into af_inet.c after the rename.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inet_common.h | 5 | ||||
-rw-r--r-- | include/net/inet_connection_sock.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h index 38d5a1e9980d..d6238bdefbaf 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h | |||
@@ -39,6 +39,11 @@ extern int inet_getname(struct socket *sock, | |||
39 | extern int inet_ioctl(struct socket *sock, | 39 | extern int inet_ioctl(struct socket *sock, |
40 | unsigned int cmd, unsigned long arg); | 40 | unsigned int cmd, unsigned long arg); |
41 | 41 | ||
42 | extern int inet_ctl_sock_create(struct socket **sock, | ||
43 | unsigned short family, | ||
44 | unsigned short type, | ||
45 | unsigned char protocol); | ||
46 | |||
42 | #endif | 47 | #endif |
43 | 48 | ||
44 | 49 | ||
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index f00f0573627b..2ff545a56fb5 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -327,11 +327,6 @@ extern void inet_csk_listen_stop(struct sock *sk); | |||
327 | 327 | ||
328 | extern void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr); | 328 | extern void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr); |
329 | 329 | ||
330 | extern int inet_csk_ctl_sock_create(struct socket **sock, | ||
331 | unsigned short family, | ||
332 | unsigned short type, | ||
333 | unsigned char protocol); | ||
334 | |||
335 | extern int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, | 330 | extern int inet_csk_compat_getsockopt(struct sock *sk, int level, int optname, |
336 | char __user *optval, int __user *optlen); | 331 | char __user *optval, int __user *optlen); |
337 | extern int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, | 332 | extern int inet_csk_compat_setsockopt(struct sock *sk, int level, int optname, |