summaryrefslogtreecommitdiffstats
path: root/include/net/inet_common.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-03 14:22:32 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-03 14:22:32 -0700
commit3d58b5fa8e4c461ab09afdacd3d1754fccca06ad (patch)
treeb5793c1cc2f0d41657c5e5d101cc00e07c515a60 /include/net/inet_common.h
parent4f049b4f33d07bd11335c3a074ebef14213a3e37 (diff)
downloadop-kernel-dev-3d58b5fa8e4c461ab09afdacd3d1754fccca06ad.zip
op-kernel-dev-3d58b5fa8e4c461ab09afdacd3d1754fccca06ad.tar.gz
[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/net/inet_common.h')
-rw-r--r--include/net/inet_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h
index 38d5a1e..d6238bd 100644
--- a/include/net/inet_common.h
+++ b/include/net/inet_common.h
@@ -39,6 +39,11 @@ extern int inet_getname(struct socket *sock,
extern int inet_ioctl(struct socket *sock,
unsigned int cmd, unsigned long arg);
+extern int inet_ctl_sock_create(struct socket **sock,
+ unsigned short family,
+ unsigned short type,
+ unsigned char protocol);
+
#endif
OpenPOWER on IntegriCloud